Changes

From SME Server
Jump to navigationJump to search
222 bytes added ,  14:27, 8 December 2015
m
Line 72: Line 72:  
Use care to execute these three commands precisely. Failure to do so may prevent remote login via ssh.  
 
Use care to execute these three commands precisely. Failure to do so may prevent remote login via ssh.  
    +
db configuration setprop masq status enabled
 
  expand-template /etc/rc.d/init.d/masq
 
  expand-template /etc/rc.d/init.d/masq
 
  /etc/init.d/masq restart
 
  /etc/init.d/masq restart
 
  signal-event fail2ban-conf
 
  signal-event fail2ban-conf
 
or, as an alternative, use the following commands. They will have the same effect after rebooting.
 
or, as an alternative, use the following commands. They will have the same effect after rebooting.
 +
db configuration setprop masq status enabled
 
  signal-event post-upgrade; signal-event reboot
 
  signal-event post-upgrade; signal-event reboot
 +
    
{{warning box| Failing to run either of these command will completely lock network access next time iptables rules are reloaded}}
 
{{warning box| Failing to run either of these command will completely lock network access next time iptables rules are reloaded}}
 +
{{warning box| The masq service must be enabled for fail2Ban to work correctly. If you disable it, Fail2ban won't ban anything}}
    
==DB command==
 
==DB command==

Navigation menu