Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
Firewall
(view source)
Revision as of 18:05, 17 September 2012
No change in size
,
18:05, 17 September 2012
m
→Block incoming IP address
Line 38:
Line 38:
Create a custom template and list the IP's
Create a custom template and list the IP's
mkdir -p /etc/e-smith/templates-custom/etc/rc.d/init.d/masq/
mkdir -p /etc/e-smith/templates-custom/etc/rc.d/init.d/masq/
−
pico
-w /etc/e-smith/templates-custom/etc/rc.d/init.d/masq/40DenyRiffRaff
+
nano
-w /etc/e-smith/templates-custom/etc/rc.d/init.d/masq/40DenyRiffRaff
/sbin/iptables -A INPUT -s 69.212.12.76/32 -j DROP
/sbin/iptables -A INPUT -s 69.212.12.76/32 -j DROP
/sbin/iptables -A INPUT -s 88.28.215.11/32 -j DROP
/sbin/iptables -A INPUT -s 88.28.215.11/32 -j DROP
Piran
6
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