Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Nov 2000 15:35:30 -0200
From:      "Fabrizzio Batista" <Fabrizzio.Batista@lojasobino.com.br>
To:        <freebsd-questions@freebsd.org>
Subject:   NAT with redirect_address
Message-ID:  <004501c053e1$725209e0$65010180@lojasobino.com.br>

next in thread | raw e-mail | index | archive | help
    Hi gurus,

    I´m using redirect_address and everything are
fine, but when I try to out all outgoing packets I have the same public IP.


    | PC1 - 192.168.1.10       | ----------------------> 200.248.1.1
    |                                        |
    |---------------------------| Server with NAT - 200.248.1.1
    |                                        |
    | PC2 - 192.168.1.20       | -------------------------------->
200.248.1.1

    How can I do to make internals ips get out with differents IPs ???

    | PC1 - 192.168.1.10       | -------------------------------->
200.248.1.3
    |                                        |
    |---------------------------| Server with NAT - 200.248.1.1
    |                                        |
    | PC2 - 192.168.1.20       | -------------------------------->
200.248.1.4

    natd -n rl0 -redirect_address 192.168.1.10 200.248.1.3 -redirect_address
192.168.1.20 200.248.1.4

    Thanks in advance,

    Fabrizzio





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004501c053e1$725209e0$65010180>