hpchong7
asked on
linux web and ftp server
Dear sir,
I've installed RH 7.1 , with ftp and web server.However, I found that if I access the web server and ftp server from localhost, it is okay. But the computers on the network cannot access it.(I type the ip address of the server).Do you know what's the problem?
BTW, in which file can I modify the init level such that when I boot into the Red Hat, I will go into graph mode instead of text mode?Thanks!
I've installed RH 7.1 , with ftp and web server.However, I found that if I access the web server and ftp server from localhost, it is okay. But the computers on the network cannot access it.(I type the ip address of the server).Do you know what's the problem?
BTW, in which file can I modify the init level such that when I boot into the Red Hat, I will go into graph mode instead of text mode?Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
You're right.It's my firewall!
Sorry about the delay - I was in Ireland for a few days.
I don't use the firewall that comes with Red Hat so I'm in uncharted waters here...
In /etc/init.d/ you will find all the scripts that run on start up. One of these is called "ipchains" this should control the firewall.
As far as I can tell from glancing at the source to that script the config is controled though:
/etc/sysconfig/ipchains
As I don't use it - I don't have a file there. Your first order of business should be to back up the origional file - that way if anything goes wrong you have a baseline that you can fall back to.
Other than that I can only suggest you examine the file (I'm hoping that it is well commented) and consult the Red Hat documentation (and/or make extensive use of http://google.com/ ).
Of course you can turn the firewall completely on and off with:
/etc/init.d/ipchains start
and
/etc/init.d/ipchains stop
(No matter what state you leave it in it will come back up when you reboot).
I don't use the firewall that comes with Red Hat so I'm in uncharted waters here...
In /etc/init.d/ you will find all the scripts that run on start up. One of these is called "ipchains" this should control the firewall.
As far as I can tell from glancing at the source to that script the config is controled though:
/etc/sysconfig/ipchains
As I don't use it - I don't have a file there. Your first order of business should be to back up the origional file - that way if anything goes wrong you have a baseline that you can fall back to.
Other than that I can only suggest you examine the file (I'm hoping that it is well commented) and consult the Red Hat documentation (and/or make extensive use of http://google.com/ ).
Of course you can turn the firewall completely on and off with:
/etc/init.d/ipchains start
and
/etc/init.d/ipchains stop
(No matter what state you leave it in it will come back up when you reboot).
ASKER
Yes,I've installed the firewall,but did not know whether it is enabled.How can I config it such that all people can use my web server and ftp server?thanks!