Date: Tue, 30 May 2006 19:04:13 +0800 From: =?big5?B?uLOm9sBz?= <ss650120@ms10.hinet.net> To: <freebsd-questions@freebsd.org> Cc: <freebsd-questions@freebsd.org> Subject: I have some questions about natd and firewall....^_^||| Message-ID: <000c01c683d8$ca03a950$c80a738c@yatung>
next in thread | raw e-mail | index | archive | help
Hello: My English is not good. I am sorry about this first. ~_~ My system: FreeBSD + IPFW + NAT Question 1: about NAT (in FreeBSD) I built a "natd.conf" and it's contents are below: redirect_address 192.168.0.1 140.115.10.22 I have 2 computers in the LAN: 192.168.0.200 and 192.168.0.201. The redirect rule (above) will affect any connection which destination is 140.115.10.22. But, I don't want this rule to redirect the packets sent from 192.168.0.200.(ie. This rule will affect all nodes inside the LAN but 192.168.0.200) Can I make it? Question 2: about Firewall (in FreeBSD) Is there any argument in IPFW just like the function of the "redirect_address" in NAT can be used? If it is, I think it may can solve the above problem. I hope I can get your reply. Deeply appreciate ^_^ ~felix
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000c01c683d8$ca03a950$c80a738c>