Router:Linux - Debian: Difference between revisions

m (More formatting fixes.)
m (Even more formatting fixes...)
auto eth0
iface eth0 inet manual
mtu 1508
up /sbin/ip link set mtu 1508 dev eth0
auto aaisp
 
This example will set up:
* Allowing all traffic from your LAN to the internet
* Blocking unsolicited traffic from the internet to your LAN
* NAT for IPv4
 
To set up some sensible defaults, do:
auto eth0
iface eth0 inet manual
mtu 1508
up /sbin/ip link set mtu 1508 dev eth0
auto aaisp
 
This example will set up:
* Allowing all traffic from your LAN to the internet
* Blocking unsolicited traffic from the internet to your LAN
 
apt-get update