Linux Routing Memos

These are just small hints and memos what to do on a Debian Linux setup. This is not a complete guide on doing a secured routing environment with Linux.

  • /etc/sysctl.conf: net.ipv4.ip_forward=1
  • Configure /etc/network/interfaces
  • iptables -t nat -A POSTROUTING -o <upstream_interface> -j MASQUERADE
  • apt-get install iptables-persistent
  • apt-get install iftop
  • apt-get install conntrack
  • conntrack -L -s 10.11.1.10
  • apt-get install isc-dhcp-relay

Updated: February 21, 2019 — 16:21

Leave a Reply