Attention: All pages of this wiki depend on the pages that come before it, in order as they are listed on the Main Page. Please check for Dependencies.
Please also look at What You Need to Know Before Using This Wiki

Set up Basic Firewall Functions

From COCNM
Jump to: navigation, search

TODO: change this to not use ifrename and use udev instead

System Prep

  • apt-get remove nfs-common rpcbind
  • apt-get install ifrename

Multiple Network Interfaces on Debian

  • BIG FAT NOTE: Do not use ifrename on current debian, use udev instead
  • for i in eth0 eth1 eth2; do ADD=$(ifconfig $i | head -1 | cut -f 11 -d " "); echo "$i mac $ADD" >> /etc/iftab; done
  • > /etc/network/interfaces; vi /etc/network/interfaces

Configure Packet Forwarding / Basic IPTables Rules Set / Network Startup Script