Changes
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
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
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