2

Firewall Yast2 shows ports open, nmap shows them closed

view story
linux-howto

http://forums.opensuse.org – Hi, as this is my first post to the forum you should know that I am quite a newbee into Linux in general. I'm encountering a strange problem. I need to open and forward all UDP and TCP ports related to VoIP telephony (5000:32000) in the Suse 11.1 server that's acting as router/firewall in our setup. The ports must redirect to a Asterisk server in the local network. (This server has the IP adress 192.168.0.3) I've opened ports in Yast (Firewall>Ports>Advanced) and putted in some masquerading rules (Firewall>Masquerading): 0/0,192.168.0.3,tcp,5000:31000,5000:31000 0/0,192.168.0.3,udp,5000:31000,5000:31000 when I do a nmap localhost I get: Starting Nmap 4.75 at 2010-01-08 16:52 CET Interesting ports on localhost (127.0.0.1): Not shown: 991 closed ports PORT STATE SERVICE 21/tcp open ftp 22/tcp open ssh 25/tcp open smtp 53/tcp open domain 80/tcp open http 111/tcp open rpcbind 548/tcp open afp 631/tcp open ipp 3306/tcp open mysql so the ports are closed... if I do nmap -p5060 localhost I see Starting Nmap 4.75 ( Nmap - Free Security Scanner For Network Exploration & Security Audits. ) at 2010-01-08 16:52 CET Interesting ports on localhost (127.0.0.1): PORT STATE SERVICE 5060/tcp closed sip Am I overlooking something or just 'to newbee' to do this kind of stuff? Any help would be really appreciated as I am googling and reading all I can find for the last 5 days without any result... Kind regards from Belgium Pedro (Distributions)