Bill Winegarden wrote:
Hi,
I did a netstat and it does not appear that 6346 is open. Also, I went to MCC and checked firewall....it asked me to install smoothwall so I think there is no firewall installed.
Is there a file where I can open a single port like this?

tia,
Bill W.
actually, yes. look at the file /etc/services and check there to see if the port you're wanting to use is open or closed. If it's commented out it will have a "#" at the beginning of the line. If there is no pound sign "#" then the port is open.

To check and see what iptables is doing open a terminal and as root user issue this command:

iptables -L [enter]

This will bring up a list of all the current rules in place and in use by the kernel. if your machine reports back with only a few lines indicating that INPUT, FORWARD and OUTPUT are at default settings and "no" rules are currently in use by the kernel.

EX:
Chain INPUT (policy DROP)

Chain FORWARD (policy DROP)

Chain OUTPUT (policy ACCEPT)

otherwise you may see output looking something like this. below is an example of an active firewall:

Chain INPUT (policy DROP)
target prot opt source destination
DROP tcp -- anywhere 127.0.0.0/8
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
DROP all -- BASE-ADDRESS.MCAST.NET/4 anywhere
DROP all -- anywhere 192.168.0.0/16
DROP all -- 192.168.0.0/16 anywhere
INT_IN all -- anywhere anywhere
PUB_IN all -- anywhere anywhere

Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
DROP tcp -- 192.168.0.0/16 0.0.0.255/0.0.0.255tcp dpts:netbios-ns:netbios-ssn
DROP udp -- 192.168.0.0/16 0.0.0.255/0.0.0.255udp dpts:netbios-ns:netbios-ssn
ACCEPT all -- 192.168.0.0/16 anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
INT_OUT all -- anywhere anywhere
PUB_OUT all -- anywhere anywhere

Chain INT_IN (1 references)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp-data
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:smtp
ACCEPT tcp -- anywhere anywhere tcp dpt:domain
ACCEPT tcp -- anywhere anywhere tcp dpt:nntp
ACCEPT tcp -- anywhere anywhere tcp dpt:imap
ACCEPT tcp -- anywhere anywhere tcp dpt:mysql
ACCEPT tcp -- anywhere anywhere tcp dpt:10000
ACCEPT udp -- anywhere anywhere udp dpt:netbios-ns
ACCEPT udp -- anywhere anywhere udp dpt:netbios-dgm
ACCEPT udp -- anywhere anywhere udp dpt:netbios-ssn
ACCEPT icmp -- anywhere anywhere
DROP all -- anywhere anywhere

Chain INT_OUT (1 references)
target prot opt source destination
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere

Chain PUB_IN (1 references)
target prot opt source destination
DROP all -- anywhere 192.168.0.0/24
DROP all -- 192.168.0.0/24 anywhere
ACCEPT icmp -- anywhere anywhere icmp destination-unreachable
ACCEPT icmp -- anywhere anywhere icmp echo-reply
ACCEPT icmp -- anywhere anywhere icmp time-exceeded
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp-data
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:smtp
ACCEPT tcp -- anywhere anywhere tcp dpt:domain
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT tcp -- anywhere anywhere tcp dpt:nntp
ACCEPT tcp -- anywhere anywhere tcp dpt:imap
ACCEPT tcp -- anywhere anywhere tcp dpt:mysql
ACCEPT tcp -- anywhere anywhere tcp dpt:10000
ACCEPT udp -- anywhere anywhere udp dpt:domain
LOG tcp -- anywhere anywhere tcp dpt:telnet state INVALID,NEW limit: a
vg 5/sec burst 8 LOG level warning prefix `audit'
LOG tcp -- anywhere anywhere tcp dpt:ftp state INVALID,NEW limit: avg
5/sec burst 8 LOG level warning prefix `audit'
LOG tcp -- anywhere anywhere tcp dpt:imap state INVALID,NEW limit: avg
5/sec burst 8 LOG level warning prefix `audit'
LOG tcp -- anywhere anywhere tcp dpt:pop3 state INVALID,NEW limit: avg
5/sec burst 8 LOG level warning prefix `audit'
LOG tcp -- anywhere anywhere tcp dpt:finger state INVALID,NEW limit: a
vg 5/sec burst 8 LOG level warning prefix `audit'
LOG tcp -- anywhere anywhere tcp dpt:sunrpc state INVALID,NEW limit: a
vg 5/sec burst 8 LOG level warning prefix `audit'
LOG tcp -- anywhere anywhere tcp dpt:exec state INV
5/sec burst 8 LOG level warning prefix `audit'
LOG tcp -- anywhere anywhere tcp dpt:login state IN
g 5/sec burst 8 LOG level warning prefix `audit'
LOG tcp -- anywhere anywhere tcp dpt:linuxconf stat
: avg 5/sec burst 8 LOG level warning prefix `audit'
LOG tcp -- anywhere anywhere tcp dpt:ssh stat
5/sec burst 8 LOG level warning prefix `audit'
LOG udp -- anywhere anywhere udp dpt:31337
g 5/sec burst 8 LOG level warning prefix `audit'
DROP icmp -- anywhere anywhere
DROP all -- anywhere anywhere

Chain PUB_OUT (1 references)
target prot opt source destination
REJECT icmp -- anywhere anywhere icmp destinati icmp-port-unreachable
REJECT icmp -- anywhere anywhere icmp time-exce unreachable
ACCEPT all -- anywhere anywhere





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Reply via email to