SSH Tunnel not working... "Administratively Probihited..."
I'm trying to access some stuff behind a router, and the only access I have is port 22 and 23. I really need to open up ports, but if you have ever configured a linksys or smc router with links you are missing a lot of fun (not to mention aggravation). I want to be able to connect to port 4000 and have it forward remotely through the router to the router. My command line at the moment looks like:
ssh -2 -p 22 -l root -R 20000:192.168.2.1:80 -n remote.box
I also tried ssh tunneling to a local port:
ssh -L 16000:remote.box:80 remote.box
And then running netcat to tunnel the connections to the router on the other side, but alas... when I did that I got the following message:
debug1: channel 2: net [direct-tcpip]
channel 2: open failed: administratively prohibited: open failed
debug1: channel 2: free: direct-tcpip: listening port 16000 for remote.box port 2000, connect from 127.0.0.1 port 32807, nchannels 3
I am almost thinking there is a configuration error or something, but I have never had a problem port forwarding before. Any help is greatly appreciated.