# Generated by ferm 2.0.6 on Sat Jun 30 08:56:40 2012
*nat
:POSTROUTING ACCEPT [0:0]
:PREROUTING ACCEPT [0:0]
-A POSTROUTING --in-interface eth0 --jump MASQUERADE
-A POSTROUTING --in-interface eth1 --destination 192.168.1.0/24 --jump SNAT --to-source 192.168.2.0/24
-A PREROUTING --in-interface eth1 --destination 192.168.2.0/24 --jump DNAT --to-destination 192.168.1.0/24
COMMIT
*filter
:FORWARD ACCEPT [0:0]
:INPUT DROP [0:0]
:OUTPUT ACCEPT [0:0]
:filter_from_eth2 - [0:0]
-A FORWARD --in-interface eth2 --jump filter_from_eth2
-A FORWARD --protocol tcp --in-interface eth0 --dport 25 --jump ACCEPT
-A FORWARD --protocol tcp --jump LOG
-A FORWARD --protocol udp --dport 123 --jump ACCEPT
-A FORWARD --protocol udp --jump LOG
-A FORWARD --jump LOG
-A filter_from_eth2 --jump LOG
COMMIT
