Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Mar 2001 23:53:17 -0500 (EST)
From:      "Michael Richards" <michael@fastmail.ca>
To:        freebsd-security@FreeBSD.ORG
Subject:   Forwarding of ports via ssh
Message-ID:  <3AC2BFBD.000005.00548@frodo.searchcanada.ca>

next in thread | raw e-mail | index | archive | help

--------------Boundary-00=_T80YK72XFQQMYJ0CCJD0
Content-Type: Text/Plain
Content-Transfer-Encoding: 7bit

Hi;

I've got an odd situation where a development machine behind our NAT 
firewall has to go into test production with a desktop client. The 
client is stupid and will only connect to a certain IP on port 80.

How can I forward this port through both of our firewalls using ssh? 
Here is what I tried and what I got:

The internal machine is 192.168.0.128
the remote machine IP is the one I want port 80 forwarded it is on 
one of our servers and the IP has just been aliased.

bash-2.03# ssh -l root -R 80:192.168.0.128:80 remote.ip.address  
root@xxx.xxx.xxx.xxx's password: 
Received disconnect: bind: Address already in use

I thought this was odd. I tried stopping the web server. No luck. So 
I tried rebooting. No luck. 

Is this just something I've overlooked, or is it possible that this 
host has something nasty going on with it? For a time it was 
vulnerable to the bind problem but had no evidence of a breakin, 
nothing that trapdoor found an nothing suspicious with the firewall.

-Michael
_________________________________________________________________
     http://fastmail.ca/ - Fast Free Web Email for Canadians
--------------Boundary-00=_T80YK72XFQQMYJ0CCJD0--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3AC2BFBD.000005.00548>