X over a reverse SSH tunnel

Les Mikesell lesmikesell at gmail.com
Wed Oct 29 13:01:14 UTC 2008


Tom Brown wrote:

>> You have to set
>> GatewayPorts yes
>> in /etc/ssh/sshd_config and be sure port 5050 is permitted by your 
>> host firewall to allow this forwarding to work for other hosts on the 
>> home side.  You might also have to specify the interface to bind to. 
>> Try connecting with putty from the windows box to test it.
> 
> thanks i will test this
> 
>>
>> You might find it easier to run an openvpn tunnel.
> 
> quite possibly yes - if i run the server at home can i connect back to 
> the 'client' ie work ?

Use a peer-to-peer configuration, not the client-server setup. As long 
as one end has a static IP (or dynamic dns) you can make it connect. If 
you only need to connect to the tunnel endpoint you can use private 
addresses for the tunnel and add routing for it on your home side. For 
more than that you'll need routing set up on both sides or NAT on the 
tunnel box.

-- 
   Les Mikesell
    lesmikesell at gmail.com




More information about the fedora-list mailing list