Re: How to set the source IP of TCP connections?

From: dave baukus (dbaukus_at_chiaro.com)
Date: 04/21/05

  • Next message: David O'Brien: "Re: nvnet does not see NVidia's adapter on amd64"
    Date: Thu, 21 Apr 2005 10:08:54 -0500
    To: Andre <andre@netvision.com.br>
    
    

    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
    _______________________________________________
    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"
    

  • Next message: David O'Brien: "Re: nvnet does not see NVidia's adapter on amd64"

    Relevant Pages

    • Re: gethostbyname - how to use with a proxy name?
      ... A TCP connection is identified by ... Microsoft MVP, MCSD ... great with "ordinary" domain names however with a proxy URL name I get ... IPaddresses in the TCP packets to track the packets to determine ...
      (microsoft.public.win32.programmer.networks)
    • Re: To many dynamic rules created by infected machine
      ... >>dynamic rules needed to support an http session? ... > Normally a http request is one tcp connection, ... > An even better solution would be a proxy ... ipfw add forward myhost tcp from evil/24 to not myhost dst-port 3128 ...
      (freebsd-net)
    • How to set the source IP of TCP connections?
      ... How can I open a TCP connection with a source IP ... I've created a proxy (like Squid but for another ... TCP connections to this proxy. ... by the proxy for that client. ...
      (freebsd-net)
    • Re: How to set the source IP of TCP connections?
      ... Andre wrote: ... > How can I open a TCP connection with a source IP ... > TCP connections to this proxy. ... > by the proxy for that client. ...
      (freebsd-net)
    • Re: ISA Server Problems, please help
      ... The All access rule for SBS Internet ... Web Proxy and/or ... > To accommodate the linux SecureNAT clients you should create a new Client ... ISA Server denies the specified Uniform Resource Locator. ...
      (microsoft.public.windows.server.sbs)