This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
ip_forwarding [2007/02/09 12:33] adam created |
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 22: | Line 22: | ||
| For Red Hat/Fedora: | For Red Hat/Fedora: | ||
| - | 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:// | + | |