Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
Firewall
(view source)
Revision as of 21:57, 9 January 2013
55 bytes removed
,
21:57, 9 January 2013
→Block incoming IP address
Line 40:
Line 40:
nano -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
−
Now add the IP's you wish to block to the newly create file
(40DenyRiffRaff)
in the following
format.
+
Of course you may call the file what ever you want.
−
+
Now add the IP's you wish to block to the newly create file in the following format.
−
Of course you may call the file what ever you want as long as you add it in this
format.
/sbin/iptables -A INPUT -s 69.212.12.76/32 -j DROP
/sbin/iptables -A INPUT -s 69.212.12.76/32 -j DROP
Steve288
50
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