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.
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.
I've got a very frustrating problem. Any help would be most appreciated.
I run Redhat 7.3, and with the standard install of it there is a firewall being installed. Because of the firewall (I presume) I cannot ssh to the machine (it's running ssh daemon), and I cannot access the web-server.
I tried lokkit, that didn't work.
Then I tried to flush the ipchains rules, but still it was a no go.
THen I tried stopping ipchains and iptables completely. Didn't work neither.
I can ping the machine, but when I portscan it, neither port 22 or 80 are open.
Well if you port scan the machine and the ports are not open this usually means the services are not running. A firewall would not hide these open ports. Try something like this:
/etc/init.d/httpd start
and then do a port scan. If httpd starts up without errors you should see port 80 open.
Do netstat -anp and look for the servers by port number and name to see if they are running.
Do 'service ipchains stop' & 'service iptables stop' to clear any rules.
Also do lsmod and see which firewall modules are loaded.
if they are ipt_~~~ you have had iptables running, if they look like ip_masq_~~~ you have had ipchains running.
iptables won't load if any ipchains modules are in memory already.
do rmmod ip~~~~ to remove any that are there, then do chkconfig --level 2345 ipchains off to stop ipchains from starting again.
That should stop the firewall from interfering for the moment. You can restart it later.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.