Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
SME Server:Documentation:FAQ
(view source)
Revision as of 14:04, 30 June 2007
385 bytes added
,
14:04, 30 June 2007
m
→Firewall/Port Forwarding,Opening,Blocking
Line 108:
Line 108:
signal-event post-upgrade
signal-event post-upgrade
signal-event reboot
signal-event reboot
+
+
+
*I want to block All traffic from some ip-addresses to my server.
+
Create a custom template and list the IP's
+
pico -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 88.28.215.11/32 -j DROP
+
+
expand and restart
+
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq
+
sv d masq; sv u masq
Snoble
Administrators
2,569
edits
Navigation menu
Page actions
Project page
Discussion
View source
History
Page actions
Project 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