ssh tunnel
Anyone got an ssh tunnel to their cpanel server working? I use putty on windows and can open a tunnel to the server on port 9999. netstat on windows confirms port is open. However changing proxy on firefox doesn't get any webpages....? I have tcp port forwarding, x11 forwarding and tunnels yes on cpanel ssh. Seems to me webpage request was sent to server but nothing comes back...? Anyone got any ideas?
-
However changing proxy on firefox doesn't get any webpages
Hello, cPanel should not interfere with your SSH tunnel configuration, but keep in mind it's unsupported so you will likely receive more feedback to this type of question on the CentOS forums. Beyond that, this is briefly discussed on the following thread:0 -
You shouldn't need x11 forwarding, your firefox config for the localhost 9999 proxy is probably just wrong. You can ssh tunnel anything through an SSH server with firefox if you SSH to the server with the -D 9999 flag. This opens a socks proxy on localhost:9999. In the Firefox network settings, set your proxy settings: leave Http, ssl, ftp proxy *blank* (this is important). set just the SOCKS proxy settings: host: localhost port 9999 socksv5 (remote DNS is optional, but I recommend it if your proxy host has access to a recursive DNS server) 0 -
In the Firefox network settings, set your proxy settings: leave Http, ssl, ftp proxy *blank* (this is important). set just the SOCKS proxy settings: host: localhost port 9999 socksv5 (remote DNS is optional, but I recommend it if your proxy host has access to a recursive DNS server)
That's exactly what i had wrong! All working now. Just for anyone interested I also got it working on android using proxydroid (superuser required) and connectbot.0 -
I am happy to see the issue is now resolved. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
4 comments