|
Howto Routing (Linux)
edited on 01.12.2006
| add a subnet |
| route add -net 192.168.1.0/24 gw 217.8.208.132 eth0 |
| add a host |
| route add -host 192.168.1.4/32 gw 217.8.208.132 eth0 |
| delete a host |
| route del default |
| delete a subnet |
| route del -net 192.168.1.0/24 gw 217.8.208.132 eth0 |
Howto NAT (Linux)
edited on 13.12.2006
| Enable Masquerading |
| iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE |
|