LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Refusing Connections (https://www.linuxquestions.org/questions/linux-newbie-8/refusing-connections-101653/)

goldfish 10-08-2003 10:23 AM

Refusing Connections
 
Okay, this is for my RedHat 9 box, newly installed, with updated kernel and everything.. accessing the net via eth0 over a router.

Basically, my problem is the following : I want the box to respond to pings, accept port 80 connections and VNC connections and rlogin etc., and even though its "unchecked" in the fancy kde redhat type control panel it is still "refusing connctions" especially to itself!

What can i do?

tangle 10-08-2003 10:33 AM

Check to see if a firewall is running (iptables). If so turn it off and check to see if you can connect. Also check to see if VNC and rlogin services are started. If not start them. VNC and rlogin are unsecure apps, so be careful with them. You could forward X using ssh if you want to use a gui remotly.

goldfish 10-08-2003 11:08 AM

hmm, forward X? Would i need to be running linux at the remote location too?

hmm, iptables didnt work... says command not found.... im worried now!

Thanks for the speedy reply

tangle 10-08-2003 11:15 AM

I think that you can forward X to a windows machine if connecting to the Linux machine using putty.

Also I misunderstood, you need to set the router to foward all those requests to that machine. Also, install nmap and do a port scan on you machine and see if those apps are running. You can do this using nmap localhost command.

goldfish 10-08-2003 11:24 AM

okay, so VNC seems to be running... but the HTTP server doesnt.

How can i get apache running? Scratch that, i figgered that out

Now i need to work out how to make it all available to remote hosts... its also not responding to pings from external sites, though pinging itself it works fine. I've matched the subnet with the rest of the network, and the default gateway, is all the same

Does it have anything to do with setting eth0 as a "trusted NIC"?

tangle 10-08-2003 11:59 AM

By remote, do you mean from the internet or from your local network?

goldfish 10-08-2003 12:03 PM

local network will do for now. once i can access it from inside i know where to go from there :)

hmmmm....

tangle 10-08-2003 12:35 PM

Are you trying to ping by host name or ip number?

goldfish 10-08-2003 12:42 PM

IP addy, tried hostname too and no joy.

as far as nmap is concerned, all the right services are running, and iptables isnt running, but i cant get to it from the LAN.

goldfish 10-08-2003 04:00 PM

anyone got any ideas?

i cant get a ping reply from the thing, i cant access VNC, http, or anything from another computer.

tangle 10-08-2003 06:47 PM

Can you ping from that machine to another?

goldfish 10-09-2003 02:17 AM

i can ping other computers from the RedHat box, but not vice versa

tangle 10-09-2003 07:28 AM

I am almost sure that you have a firewall running. Log is as root and type iptables -L. If you get a long list of things go flying by, then you have a firewall running.

goldfish 10-09-2003 12:44 PM

Oh this gets even better... iptables is DEFINATLEY disabled, well at least thats what the services thingamajigger says, and now on startup, httpd fails to start... grrr

Ill try your suggestion

tangle 10-09-2003 12:54 PM

Maybe see if ipchains is running. iptables replace is a few releases ago, but maybe RH installed it instead of iptables.


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