Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-02-2005, 01:03 PM
|
#1
|
Member
Registered: Dec 2002
Location: Milwaukee, WI
Distribution: Ubuntu, Kubuntu, Debian, CentOS
Posts: 216
Rep:
|
testing port blocking
I'm sitting behind a restrictive firewall for both outgoing and incoming traffic. I'm trying to find some way for me to test which ports are open and which are closed. For example, if I try to connect to a service and its refused I need to find out if the problem is that the port is blocked on the firewall or if the service I'm trying to connect to isn't functioning correctly.
Thanks for the help!
|
|
|
10-02-2005, 01:20 PM
|
#2
|
Senior Member
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Rep: 
|
How about to see which services are running/listening?
And you could try an nmap scan from another machine on the same network to see what the firewall has closed.
|
|
|
10-02-2005, 01:24 PM
|
#3
|
LQ Guru
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163
Rep:
|
You could use a good port scanner ( I suggest "nmap". "nessus" is good too but harder to configure) to scan your computer from inside and from outside.
The idea would be to acan from an external source that you know to not be firewalled... this would give you an idea of "what" is accessible from the outside.
Then from the "inside" network, you could scan your external box, making sure "ALL" ports are opened and listenning on that box (an easy iptables script could redirect all port to a single one, showing them all open). So you would get an idea what is able to "get out".
|
|
|
All times are GMT -5. The time now is 11:03 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|