Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Locking Down Firewall Using iptables for port 25 traffic
post Dec 10 2007, 02:35 PM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 1
Joined: 16-August 07
Member No.: 12,946

I am still very new to Linux and could use some help locking down the server so that it will only accept email from the filtering service. I have in my iptables file

:RH-Firewall-1-INPUT - [0:0]
-A INPUT -s -p tcp -m tcp --dport 25 -j ACCEPT (the filtering service ip address for their server)
-A INPUT -j RH-Firewall-1-INPUT

-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 25 -j DROP

I am trying to lock down all incoming email if it doesn't come through the filtering service. Any help in this matter would be greatly appreciated. Thanks.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 22nd June 2018 - 11:45 PM