You want to add a -g in there, so: # ssh -f -N -g -L 8080:192.168.254.19:80 [EMAIL PROTECTED]
>From man ssh: [..] -g Allows remote hosts to connect to local forwarded ports. [..] rich said: > I have a server on 192.168.254.200 and a webserver on .19 > > I run # ssh -f -N -L 8080:192.168.254.19:80 [EMAIL PROTECTED] > > which sets it up so that > # lynx localhost:8080 > brings me the page from the webserver at .19 > > BUT, the 8080 port is only open to the local host, and I want it open for all. > > # lynx 192.168.254.200:8080 > doesn't work. > > nmap localhost shows the port is open, but nmap 192.168.254.200 shows it's > closed. > > I've set > ListenAddress: 0.0.0.0 > in sshd_config but that didn't seem to do anything. > > I've trawled the 'net but found very little help. > > thanks > > rich. > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > -- Robert Vangel * RedFlag LANfest Network Services Management -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]