iptables -A POSTROUTING -t nat -j MASQUERADE -o eth0
iptables -A INPUT -j DROP -m state –state NEW,INVALID -i eth0
iptables -A FORWARD -j DROP -m state –state NEW,INVALID -i eth0
echo 1 > /proc/sys/net/ipv4/ip_forward

… damit ich’s nicht wieder vergesse.

Related posts:

  1. Firewall mit IPtables
  2. DMZ, SNAT & DNAT
  3. Dell SC1435 Einrichtung
  4. Software Raid5 mit Debian
  5. Bilder verkleinern mit ImageMagick