Date: Thu, 21 Apr 2005 10:08:54 -0500 From: dave baukus <dbaukus@chiaro.com> To: Andre <andre@netvision.com.br> Cc: freebsd-net@freebsd.org Subject: Re: How to set the source IP of TCP connections? Message-ID: <4267C206.3020506@chiaro.com> In-Reply-To: <20050421145256.GA50738@server.home> References: <20050421145256.GA50738@server.home>
next in thread | previous in thread | raw e-mail | index | archive | help
Can you not configure the loop back w/ the address then bind to it and connect to the forgein end ? It's not exactly what you want, but I think its a game some apps play. Andre wrote: > How can I open a TCP connection with a source IP > address that's not configured on the machine? > > I've created a proxy (like Squid but for another > protocol), and I use ipfw fwd to get the client's > TCP connections to this proxy. > > The problem is that the connections that the proxy > open have the source IP address of the machine where > the proxy is running on. > > What I'd like to do is to use the IP address of the > client as the source IP address of connections opened > by the proxy for that client. > > Any way to do this in FreeBSD 4 or 5? > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > -- Dave Baukus dbaukus@chiaro.com Chiaro Networks Ltd. Richardson, Texas USA
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4267C206.3020506>