Aici veti gasi detalii tehnice despre cum se pot realiza configurari software+ hardware.
Here you can find tehnical details about software/hardware configuration.

duminică, 2 aprilie 2017

Freebsd NAT with natd

To activate natd support you need to compile Kernel with following option:

options IPDIVERT

After that we can need to run at startup:
natd -interface rl1 (rl1 is my external interface)
/sbin/ipfw add 7 divert natd all from any to any via rl1 (this rule make nat to all internat packets)

7 is the number of rule.

If you have a internal routed subnet you can make nat without this.
/sbin/ipfw add 7 divert natd all from not A.B.C.D/29 to any via rl1


Map


Visitor Map