Date: Thu, 21 Apr 2005 14:52:56 +0000 From: Andre <andre@netvision.com.br> To: freebsd-net@freebsd.org Subject: How to set the source IP of TCP connections? Message-ID: <20050421145256.GA50738@server.home>
next in thread | raw e-mail | index | archive | help
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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050421145256.GA50738>