Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
tutorials:vps_debian [2012/01/16 01:59]
memnon
tutorials:vps_debian [2012/01/16 02:01]
memnon
Line 128: Line 128:
  
   # iptables -F   # iptables -F
-  # iptables-restore ​&​lt; ​/​etc/​firewall+  # iptables-restore ​/​etc/​firewall
  
 Load rules (boot): Load rules (boot):
Line 135: Line 135:
  
   #!/bin/sh   #!/bin/sh
-  /​sbin/​iptables-restore ​&​lt; ​/​etc/​firewall+  /​sbin/​iptables-restore ​/​etc/​firewall
  
   # chmod 755 /​etc/​network/​if-pre-up.d/​firewall   # chmod 755 /​etc/​network/​if-pre-up.d/​firewall