Re: Network client is the same from server



Tiago Cruz wrote:

On Tue, 2006-01-31 at 12:30 +0000, Brian Candler wrote:



I think he needs to NAT destination addresses as well as source addresses,
and statically map a whole /24 to another /24. Put diagramatically:



Many thanks by your reply!




and on GW2 you'd need



And, If I have't not control about the second gateway? Because my client have a notebook, and he can try connect at anyplace, anytime :-(

So, I think that is impossible to to... is true?


no,
you should be able to do it all on your own machine I think..
by NATing on both interfaces, effectively puting your machine in the middle,
with one natd on each interface.


Thank you!



_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Failover and load balancing using advanced NAT daemon
    ... I have a seperate natd running for each interface, but my setup includes mail, web and pptp servers on the LAN which complicates matters. ... I did not have load balancing but am using a ping script to monitor interfaces and re-route traffic using ipfw set's which get enabled and disabled. ... We must provide NATed internet access to local network users load-balancing internet interfaces and providing failover. ... All session have to "remember" their outgoing interface as one session will break if packets start to come from different IPs. ...
    (freebsd-net)
  • Re: Which interface do I put natd and ipfw
    ... > I need to know which of the 3 interfaces do I put the natd and ipfw. ... I use user ppp to setup the connection to the isp who assigns ... > dynamic ip address to the tun0 interface. ...
    (freebsd-questions)
  • Re: NAT over multiple subnets
    ... The simplest way to deal with that is to add interfaces to the machine running ... natd and put one NIC on each distinct subnet. ... 192.168.2.0/24 subnet by giving your natd box a /22 netmask instead. ...
    (freebsd-net)
  • Re: multiple natd line
    ... > i want to make natd start up on two interfaces during boot time? ... It looks to me that the basic rc infrastructure doesn't support that. ... natd instance. ...
    (comp.unix.bsd.freebsd.misc)
  • gateway troubles
    ... i need to get work router from mynet to rl0 net and internet. ... to do that without natd but net.inet.ip.forwarding=1 work only on one ... psihical interface:) i need to get work gateway between 3 interfaces. ...
    (freebsd-questions)