...is that right or am I missing something, like a script that sorts it out for me.
It's a newish install and I'm new to it but I notice every time the server reboots (and at other random intervals) suddenly nothing works. I can ping the server but that's about it. However if I run something like:-
it will pull down the "Congratulations on installing Apache..." index.html page, so I know httpd is running OK.
won't work though, it'll try to redirect to port 2086 and fail on a 401 error but atleast it's having a go. I don't get anything from my PC.
The only way to get it going again is:-
This seems a bit extreem and I feel leaves me slightly vulnerable, although I am behind a corporate Firewall so it's not the end of the world.
I have tried adding some lines to the iptables files as discussed on several forums etc.. like these:-
"simply add these lines to your iptables file using pico"
..but then they've been written over by cron in the night.
I have spent quite a lot of time trying to resolve this but as I'm not the best linux server admin going I don't really know what to do. Don't make me reach for that Win2K disc
It's a newish install and I'm new to it but I notice every time the server reboots (and at other random intervals) suddenly nothing works. I can ping the server but that's about it. However if I run something like:-
Code:
# wget http://host.myserver.com
Code:
# wget http://host.myserver.com/whm
The only way to get it going again is:-
Code:
# service iptables stop
I have tried adding some lines to the iptables files as discussed on several forums etc.. like these:-
"simply add these lines to your iptables file using pico"
Code:
# iptables -A ptcp -p tcp --dport 2082 -m state --state NEW -j ACCEPT
# iptables -A ptcp -p tcp --dport 2083 -m state --state NEW -j ACCEPT
# iptables -A ptcp -p tcp --dport 2086 -m state --state NEW -j ACCEPT
# iptables -A ptcp -p tcp --dport 2087 -m state --state NEW -j ACCEPT
I have spent quite a lot of time trying to resolve this but as I'm not the best linux server admin going I don't really know what to do. Don't make me reach for that Win2K disc