Router:Linux - Debian: Difference between revisions
Appearance
Content deleted Content added
m More formatting fixes. |
m Even more formatting fixes... |
||
| Line 162: | Line 162: | ||
auto eth0 |
auto eth0 |
||
iface eth0 inet manual |
iface eth0 inet manual |
||
mtu 1508 |
|||
up /sbin/ip link set mtu 1508 dev eth0 |
|||
auto aaisp |
auto aaisp |
||
| Line 191: | Line 189: | ||
This example will set up: |
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: |
To set up some sensible defaults, do: |
||
| Line 278: | Line 276: | ||
auto eth0 |
auto eth0 |
||
iface eth0 inet manual |
iface eth0 inet manual |
||
mtu 1508 |
|||
up /sbin/ip link set mtu 1508 dev eth0 |
|||
auto aaisp |
auto aaisp |
||
| Line 310: | Line 306: | ||
This example will set up: |
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 |
apt-get update |
||