NAT question

Luciano Mannucci luciano at
Wed Aug 13 16:57:27 UTC 2014

Hello, I'm still migrating machines from linux to FreeBSD. I'm wondering if
my translation from this iptables linux rule

iptables -t nat -A POSTROUTING -s -d -o eth1 -j

(which means moreless if Mr wherever he comes fom passes
through our eth1 interface to go to 172.16.1 network should get our
eth1 address instead of his)

is moreless correctly translated in FreeBSD ipnat rules as

map em0 -> 0/32

or I'm missing something?


 /"\                         /Via A. Salaino, 7 - 20144 Milano (Italy)
 \ /  ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250
  X   AGAINST HTML MAIL    /  E-MAIL: posthamster at sublink.sublink.ORG
 / \  AND POSTINGS        /   WWW: http://www.lesassaie.IT/

More information about the freebsd-questions mailing list