View Full Version : Help with connection
RamiroS
October 28th, 2005, 05:06 PM
Hello. I recently setup Breezy as a server. Did all the initial stuff and everything works fine... dhcp gives addresses to the network and the client computers get the ip.... but there is no internet connection.
From the clients machines I can ping the server and get response from it.
Is this an iptables misconfiguration? dhcp is not working fine? dns? how can I know? what can I do?
thanks
diebels
October 28th, 2005, 09:34 PM
Is the server acting as a router? If so you need to set up NAT. A lot of firewall software do that for you.
dbee
October 29th, 2005, 01:21 AM
But there is "no internet connection" in what sense ?
Can you connect to the internet from your Ubuntu server or is it that you don't have the router config working ?
check your iptables config
iptables -L
It's blank by default though, so it shouldn't be a problem.
LordHunter317
October 29th, 2005, 01:48 AM
What else gets information from this DHCP server? Do those other boxes work?
RamiroS
October 30th, 2005, 02:22 AM
Is the server acting as a router? If so you need to set up NAT. A lot of firewall software do that for you.
Yes... it should share the connection from the cablemodem to the rest of the network.
Can you recommend me a firewall?
RamiroS
October 30th, 2005, 02:25 AM
But there is "no internet connection" in what sense ?
Can you connect to the internet from your Ubuntu server or is it that you don't have the router config working ?
check your iptables config
iptables -L
It's blank by default though, so it shouldn't be a problem.
Yes, the server can connect to the Internet... the machines get an ip from the server , can ping the server, but cannot ping outside... for example yahoo.com
ToXedVirus
November 5th, 2005, 11:31 AM
http://www.revsys.com/writings/quicktips/nat.html
maybe there is an error with your iptables configuration.
otherwise there is the dns server problem, the computers in the inner network maybe dont get the dns server ips, so the computer cant reach any dns server to lookup wtf yahoo.org is ...
n4dhp
November 8th, 2005, 05:29 PM
Assuming your router address is 192.168.0.1, use the command:
/sbin/route
If the result does not display an ip address under the gateway column,
try this
sudo /sbin/route add default gw 192.168.0.1
Bill
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.