LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Server Setup (https://www.linuxquestions.org/questions/linux-networking-3/server-setup-48288/)

Jesterman81 03-04-2003 05:45 PM

Server Setup
 
Hi All,

This is my first post, so be gentle. I am running Slack 8.1 and am trying to run sshd and httpd. I can connect to both on my local network, but I can't connect to my server on anything external.

I checked the hosts.allow and hosts.deny. I set the allow to ALL:ALL and cleared the deny file. I also didn't touch the iptables command except for ipmasquerading.
Command is:
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

I also did a port scan from my University's campus on port 80 and it came back open.

Any help would be appreciated.

I should also mention that I am trying to get to the server by ip address.

Crashed_Again 03-04-2003 06:49 PM

What intirigues me the most about this is the fact that you see port 80 open from a port scan yet you are unable to connect. You may want to fun down a checklist of things it could be. First I would totally shut off your firewall.

In situations like these it is good to use the process of elimination strategy. Either shutoff iptables totally or flush all the current rules. Also make sure you don't have any other type of firewall running.


All times are GMT -5. The time now is 05:42 PM.