From owner-freebsd-security Wed Mar 28 20:53:11 2001 Delivered-To: freebsd-security@freebsd.org Received: from mail.interchange.ca (ns.interchange.ca [216.126.79.2]) by hub.freebsd.org (Postfix) with ESMTP id 2318F37B726 for ; Wed, 28 Mar 2001 20:53:09 -0800 (PST) (envelope-from michael@fastmail.ca) Received: by mail.interchange.ca (Fastmailer, from userid 555) id B8AA320B4; Wed, 28 Mar 2001 23:53:17 -0500 (EST) MIME-Version: 1.0 Message-Id: <3AC2BFBD.000005.00548@frodo.searchcanada.ca> Content-Type: Multipart/Mixed; boundary="------------Boundary-00=_T80YK72XFQQMYJ0CCJD0" To: freebsd-security@FreeBSD.ORG Subject: Forwarding of ports via ssh From: "Michael Richards" X-Fastmail-IP: 24.43.130.237 Date: Wed, 28 Mar 2001 23:53:17 -0500 (EST) Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --------------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