Results 1 to 3 of 3
I'm trying to set up an SSH server so I can tunnel my traffic from my Macbook Pro at college to my Debian (or any other distro, if it's more ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-23-2007 #1
- Join Date
- Jul 2007
- Orlando, Florida
SSH to a machine behind a router
My question is, when I have to specify the address (i.e. firstname.lastname@example.org) what do I use to tell my laptop that I want my specific machine, and not the router?
- 07-23-2007 #2
You would forward the appropriate port to your machine. Your router should have NAT or port forwarding configuration on it. By default the port is 22, but I would recommend you change that to stop automatic scripts from scanning and brute forcing you.
Also you can set up a no-ip.com or dyndns.org account so that you can use a domain name to refer to your IP if it changes.
- 07-23-2007 #3
- Join Date
- Apr 2004
To do this, set up port forwarding on your router to forward ssh connections from the router to your Debian box, then try to ssh to your router and it will end up connecting to the Debian box.
Most home routers support something like this, either called port forwarding or virtual hosts.
Your server distribution doesn't really matter, just so long as sshd is installed and configured.
Let us know how you get on,
Chris...To be good, you must first be bad. "Newbie" is a rank, not a slight.