User Tools

Site Tools


ip_forwarding

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ip_forwarding [2007/02/09 12:33]
adam created
ip_forwarding [2007/08/29 11:38]
adam Added sysctl stuff
Line 13: Line 13:
   chmod 755 /etc/network/if-up.d/iptables   chmod 755 /etc/network/if-up.d/iptables
  
-And add the following the new file:+And add the following to the new file:
  
   #!/bin/bash   #!/bin/bash
Line 22: Line 22:
 For Red Hat/Fedora: For Red Hat/Fedora:
  
-iptables-save+  iptables-save 
 + 
 +and edit /etc/sysctl.conf, changing the line ''net.ipv4.ip_forward=0'' to: 
 + 
 +  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://iptables-tutorial.frozentux.net/iptables-tutorial.html]] +  * [[http://iptables-tutorial.frozentux.net/iptables-tutorial.html]] 
-[[http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch14_:_Linux_Firewalls_Using_iptables]]+  [[http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch14_:_Linux_Firewalls_Using_iptables]]
ip_forwarding.txt · Last modified: 2016/11/25 22:38 (external edit)