Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
-bash-2.05b$ nmap -sS -p 27000-27015 -PU 127.0.0.1
Illegal Argument to -P, use -P0, -PI, -PB, -PM, -PP, -PT, or -PT80 (or whatever number you want for the TCP probe destination port)
QUITTING!
-bash-2.05b$
I don't want to scan what ports are open, I want to find out what ports are available from the internet to my server.
In other words, what services can I run on my server? It's no good nmap'ing myself as far as I can see because that only seems to pick up portas that are already running, which is no good; I already know port 80 is allowed.
One method I could try is to use netcat to opn aload of ports and then try to connect but I'm not too hot with scripting.
Also, I don't have root at the moment. I can ask for it if it's really needed.
Another way of putting it - I want to play Counterstrike, for example, and it's not connecting to port whatever. I need to be sure it's the firewall and not me.
Midget32, are you using portsentry or its likes? Look into the config files ... you will find entries that are instructing portsentry to restrict access. Once you comment them out, you should be fine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.