LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   HELP...with firewall (https://www.linuxquestions.org/questions/linux-security-4/help-with-firewall-13573/)

jiles912 02-05-2002 01:04 AM

HELP...with firewall
 
Can someone tell me how to punch a hole in my firewall to allow access to my email server (10.0.0.5) port 25 and 110? I have one public interface and one private interface. Also, I am running IPTABLES and 2.4.8 kernel. Any help is appreciated.

Desperate newbie...:cry:

acid_kewpie 02-05-2002 05:54 AM

if you're not too sure what you're doing, i'd suggest using a firewall builder like firestarter, which does all that stuff for you.

a line like...

iptabes -t filter -A INPUT -p tcp -s 0/0 -d *NET* --dport 25 -j ACCEPT

where *NET* is your interface/mask values, should do the trick tho.

jiles912 02-05-2002 08:01 AM

Thanks...works great!:)


All times are GMT -5. The time now is 08:51 PM.