Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Create secure Timbuktu connections' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create secure Timbuktu connections
Authored by: Mars_Artis on May 08, '07 03:30:47PM
Actually if you want to tunnel OUSIDE your LAN, this is the correct syntax:

sudo ssh -l outsideUSER outsideIP -N -R port: -g sleep 9000000

- outsideIP is the WAN ip of the computer FROM which you wish to control your server (Local)
- outsideUSER is the user on the computer with outsideIP
- port is the port you set the server application to be running (please note that lower ports like 407 etc are not available for tunneling, you should choose ports over 4000 or so. I'm not sure but lower ports could be tunnelled only by root user.)
-sleep 9000000 ensure that the ssh tunn eling does not drops for timeout

u'll be asket twice for a password: the first for the local su, the second for the outsideUSER

note that the -N option makes the terminal window not accept furhter commands so just minimize that window and don't close it otherwise the tunnel would drop

this way you make the computer in the LAN, beihnd a firewall or NAT, to be accessible by the tunnelled computer which is not on the LAN. this is working for Timbuktu.
Thx to Barone Rosso for helping me in discovering the rite syntax

[ Reply to This | # ]