Changes

Jump to navigation Jump to search
149 bytes removed ,  09:55, 7 October 2014
m
loose touch
Line 79: Line 79:     
To disable redirects (port forwarding) within the IPsec tnnels, we have to create a custom template that will disable these at boot time. To create the custom template execute the following commands as root (simplefied):
 
To disable redirects (port forwarding) within the IPsec tnnels, we have to create a custom template that will disable these at boot time. To create the custom template execute the following commands as root (simplefied):
  touch /etc/e-smith/templates/templates-custom/etc/sysctl.conf/net.ipv4.ip_deny_redirects
+
  nano -w /etc/e-smith/templates/templates-custom/etc/sysctl.conf/net.ipv4.ip_deny_redirects
 
Then copy the below contents so you can paste them into the above custom template:
 
Then copy the below contents so you can paste them into the above custom template:
 
  # SME Server Openswan specifics
 
  # SME Server Openswan specifics
Line 90: Line 90:  
  net.ipv4.conf.all.accept_redirects = 0
 
  net.ipv4.conf.all.accept_redirects = 0
 
  net.ipv4.conf.all.secure_redirects = 0
 
  net.ipv4.conf.all.secure_redirects = 0
and paste this into the above custome template using nano:
  −
nano -w /etc/e-smith/templates/templates-custom/etc/sysctl.conf/net.ipv4.ip_deny_redirects
   
Now we need to expand the newly created custome template:
 
Now we need to expand the newly created custome template:
 
  expand-template /etc/sysctl.conf
 
  expand-template /etc/sysctl.conf

Navigation menu