[rescue] SSH Port Forwarding

nimitz at speakeasy.net nimitz at speakeasy.net
Thu Jun 5 15:52:22 CDT 2003


> -----Original Message-----
> From: Jeff Workman [mailto:jworkman at pimpworks.org]
> Sent: Thursday, June 5, 2003 04:19 PM
> To: rescue at sunhelp.org
> Subject: [rescue] SSH Port Forwarding
> 
> Is there a way to do port forwarding with SSH so that my source IP comes 
> from a virtual host on the machine instead of the machine's primary IP 
> address.
> 
> Even if I say "ssh -L 1234:somehost.com:1234 my.virtual.host.net" the 
> source still comes from my.virtual.host.net's primary IP.

Depends on the firewall but usually yeah.  ipf on OpenBSD should do this nicely.

Mike Hebel



More information about the rescue mailing list