SSH port forwarding
location: ubuntuforums.com - date: October 16, 2013
Let me start by explaining the goal. I am at my university and I would like to reverse ssh to connect to certain services remotely. I have an EC2 instance that is acting as my server.
On to the problem. When I ssh to my server like this:
ssh -R 9091:localhost:9091 [username]@[serverip]
and at the same time configure firefox and do this:
ssh -D 8080 [username]@[serverip]
I can connect to the service running on localhost:9091. However when I point my web browser to [serverip]:9091 with no proxy I get nothing. If someone could explain what I am doing wrong that would be wonderful.
SSH port forwarding
location: ubuntuforums.com - date: November 3, 2010
I have open ssh on my computer and i'm trying to use it to use local port forwarding to get around my school's firewall to use youtube for a presentation. I typed 'ssh -L 8080:www.youtube.com:80 chris-laptop' and used firefox to look to http://localhost:8080/ and I ended up at google.com. confused, I tried to ssh to another site to see what was going wrong. I typed 'ssh -L 8080:www.xkcd.com:80 chris-laptop' the used firefox to go to http://localhost:8080/ and got the website, but it loaded strangely and without the images that were supposed to be on it. Any explanation of what i'm doing wrong?
ssh port 80
location: ubuntuforums.com - date: September 1, 2009
I am running my web server on port 80. I am wondering can I ssh through the same port if I port forward and how would I do that?
No acces to port 80 Apache and SSH port
location: ubuntuforums.com - date: May 19, 2011
When I upgrade ubuntu to 11.04 including the kernel to linux-generic-pae 188.8.131.52.22 something weird happens.
I can not access apache port 80 or SSH port 22 from the outside (WAN) (Router in between) . Access from LOCAL IP is no problem. The moment I downgrade the kernel (the only change) to Linux ubuntu 2.6.35-22-generic-pae everything is back to normal. Full acces from LOCAL or WAN IP's is possible to apache and SSH.
Am I missing something in kernel IP traffic / routing protection ?
On the server no firewall is active..
My questions, what could be the problem? And how to solve it using the new kernel?
Tnx for the responses!
nopermission user for ssh port forwarding?
location: ubuntuforums.com - date: June 3, 2008
I sometimes like to ssh home to forward port 80, since I have some web services that I like to have access to at school. The problem is that sometimes I need to leave the computer and I know that my friends will "mess with" my stuff.
I want to set up a user that has NO privileges except for being able to forward ports. How can I do that? I prefer terminal commands, btw.
SSH Port forwarding
location: linuxquestions.com - date: April 18, 2005
I am trying to forward everything that is coming into server A on port 80 to server B on port 80 using ssh. The way I originally tried this was by typing in "ssh -L 80:serverB:80 serverA" from the server A terminal. This would only start forwarding from 127.0.0.1, so anybody connecting to server A would not get forwarded.
Now I am trying to use the "ssh -R" command to get this to work. The way I tried this was, from the server A terminal I type "ssh -R 80:serverB:80 serverA". For some reason this doesn't work. I have looked at the syntax for this command many times and I cannot figure out what is wrong!
ssh port forwarding
- date: July 19, 2006
here it goes:
I have a host1 behind firewalla and host2 in the internet
I need that host2 port 80 would resend data tu host1 port 80
so from host1 I run :
ssh -N -C -R 80:host1:80 [email protected]
everything works fine in host2 when trying to connect to localhost:80
but ssh does not make socket to listen host2 external ( internet ) IP ?
anyone has any ideas how to do that?
p.s. sorry for my english
mp3 stream through ssh port forward???
location: linuxquestions.com - date: May 30, 2004
I work at a location with a strict firewall that really irritates me. I IM and surf the web through my house at work using dynamic port forwarding with ssh (creating a SOCKS proxy on the localhost). I've been using this for some time, and it works great. However, I've got a few shoutcast stations I'd love to listen to at work, but once again, their firewall blocks it. Anyone know how to listen to mp3 streams through a ssh port forwarding???
I've tried setting up the SOCKS proxy that ssh establishes in the xmms plugin, but still no joy. Any tips out there????
Ssh port fowording double firewall
- date: December 14, 2012
I have a home pc (I'll call it desktop-pc) behind a firewalled router which maps standard ssh port 22 to the same port on desktop-pc. In my office I have my computer (office-pc, from now on) behind a sophisticated firewall system (say a gateway); however, using a gateway I can normally access to it (using ssh port 22).
Now I'm trying to have the stream coming from my desktop-pc webcam directly on office-pc, with an encrypted ssh tunnel. Let me explain in more detail -
1) I open vlc on desktop-pc and I start to broadcast the stream of my webcam on localhost:10000
2) On office-pc i type "ssh -L 9999:localhost:10000 [email protected]
3) On office-pc i type "vlc http://localhost:9999"
and I get a lot of errors:
[0x7fc2d4001398] access_http access debug: asking libproxy about url 'http://localhost:9999'
[0x7fc2d4001398] access_http access debug: libproxy suggest to use 'direct://'
[0x7fc2d4001398] access_http access debug: http
[SOLVED] Problem with DenyHost when Changing SSH Port 22
location: linuxquestions.com - date: October 30, 2010
I have an Asterisk on an externally hosted vServer with Lenny. In order to further protect the SSH access I intended to change the Port number 22 to something like 55555. For this I changed the /etc/ssh/sshd_config file and restarted ssh. This caused unfortunately the following problems:
(1) The first login works but DenyHost writes now the IP in its list so that the second login with the same IP is blocked.
(2) With RESET_ON_SUCCESS = yes several logins were possible with the same IP, but later it also was blocked for some still unknown reasons.
(3) Files can be uploaded for being edited, but they can't always be saved. When they can't be saved the next login with this IP is blocked. It thus looks like the blocking can occur while being connected. When the files can't be saved it is however still possible to copy files from the computer to the vServer.
I add below the entries in the auth.log from a logout and a login. It shows further how suddenly the attempts to save files were b
Page: 1 2 3 4 5 6 7 8 9 10