Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
Fail2ban
(view source)
Revision as of 14:27, 8 December 2015
222 bytes added
,
14:27, 8 December 2015
m
→Installation sme8 and sme9
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==
VIP-ire
Bureaucrats
,
Administrators
665
edits
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version
Search