Is the server machine also router / firewall machine?
If so, and the server / router / firewall box is linux I think it's firewall problem.
I had allmost similar problems maybe two weeks ago.
My two computers, Scourge (windows / linux machine) and Misery (server, router, firewall, linux) did see their eatch other and I could connect with ssh to misery using 10.0.0.1 but can't access the internet. And misery had access to internet.
Sounds familiar?
Solution for my problem was to add my /etc/rc.d/rc.firewall (which is my friend's made firewall script)
this line:
iptables -t nat -A PREROUTING -i $wan_if -p tcp --dport 80 -j DNAT --to 10.0.0.2
iptables -A FORWARD -i $wan_if -o $lan_if -p tcp --syn -m state --state NEW --dport 80 -j ACCEPT
That's my line, you may have to change it a bit.
But that's the idea, shoot a hole to iptables (assuming you use iptables) to open port 80 to first computer of my local network.
and then tell iptables to redirect packages coming from internet from Misery to Scourge.
Tell me if this helps, it would atleast help me if you tell what kind of server you have. Is it running routers and so ong.
And your firewall configuration would help.
|