This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
ip_forwarding [2007/02/09 12:34] adam |
ip_forwarding [2016/11/25 22:38] (current) |
||
|---|---|---|---|
| Line 13: | Line 13: | ||
| chmod 755 / | chmod 755 / | ||
| - | And add the following the new file: | + | And add the following |
| #!/bin/bash | #!/bin/bash | ||
| Line 23: | Line 23: | ||
| iptables-save | iptables-save | ||
| + | |||
| + | and edit / | ||
| + | |||
| + | net.ipv4.ip_forward=1 | ||
| + | |||
| + | Then running sysctl -p to make sysctl restart with the new values. | ||
| Good IP Tables Tutorial: | Good IP Tables Tutorial: | ||
| * [[http:// | * [[http:// | ||
| * [[http:// | * [[http:// | ||