[opensuse] ssh port forwarding + router = headache
Maybe someone can help me with this, I've been racking my brain and I can't see what the problem is here. I've got a router hooked up to a couple computers on a LAN, the router forwards the SSH port to one of the computers, the SSH port is opened in the firewall of that computer, and a domain name points to the router. I can SSH to the the domain name and it works just fine, doing exactly as I expect. However, once I try to "tunnel" or "forward" a port like so ssh -L 1234:domain:1234 -N domain -l user It prompts me for a password and logs in fine, but I can't get the client program to connect with the server (through localhost:1234). However, if I am on the local network and do the following ssh -L 1234:192.168.X.X:1234 -N 192.168.X.X -l user , which works fine, it logs in and my client program connects (through localhost:1234) with the server fine. So the problem is, from either inside or outside the local network, attempting an SSH tunnel with the domain name fails. What am I missing? Thanks, --Jason -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (1)
-
Jason Craig