General Ports

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello My name is Chris,

I'm new to linux and iptables and I've just started running qmail and
vpopmail.

I have a problem... here is my /etc/sysconfig/iptables file

# Generated by iptables-save v1.2.8 on Tue Feb 24 20:53:02 2004
*filter
:OUTPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:INPUT ACCEPT [0:0]
# allow only on the ports that internet services listen to
-A INPUT -p tcp -m tcp -m multiport -j ACCEPT --dports
21,22,25,80,110,143,3306 # all my internet server ports
-A INPUT -p tcp -m tcp --dport 30000:31000 -j ACCEPT # ports for passive ftp
transfer
-A INPUT -p tcp -j DROP kill everything else
COMMIT
# Completed on Tue Feb 24 20:53:02 2004

HERE'S MY QUESTION:
What are some ports I need to have open for usuall networking functions...
like looking up hostnames and what not... as of right now with iptables and
the current iptables file qmail doens't accept or send mail and the server
cannot lookup hostnames or cannot connect to http or ftp servers via wget or
lynx... the server is running redhat 7.3



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux