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? |
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.
|
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 |
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. |
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"? |
By remote, do you mean from the internet or from your local network?
|
local network will do for now. once i can access it from inside i know where to go from there :)
hmmmm.... |
Are you trying to ping by host name or ip number?
|
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. |
anyone got any ideas?
i cant get a ping reply from the thing, i cant access VNC, http, or anything from another computer. |
Can you ping from that machine to another?
|
i can ping other computers from the RedHat box, but not vice versa
|
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.
|
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 |
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. |