simple networking problem can ping gateway but not out
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
simple networking problem can ping gateway but not out
so...i had everything working and of course i had to move onto messing with apache and opening port 82 to run it.
it seems somewhere in the middle of this i lost my access to the internet via all my client computers. i can still ping the gateway, access it via telnet, open it in samba...i just cannot access the outside.
i've tried restarting dns, network, so on. i just cannot figure it out this time. i know i had this happen before but i cannot remember the fix.
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940
Rep:
first try to find where the problem lies: gateway -> internet, or client -> internet
if the gateway can get to the internet, then there is a problem with either:
iptables on gateway
ipforwarding state on gateway
routing table on client
dns settings on client
if the gateway cannot get into the internet check:
routing table on gateway,
check dns settings on gateway
iptables on gateway (esp. Policies)
or something between gateway and internet (ADSL ROUTER/MODEM)
it seems all the client-side stuff hasn't changed (i'm not exactly newb with wind0ze) and the forwarding is enabled...as for iptables, what would i look for?
oh yeah, the gateway can access the internet. my bad in forgetting to state that in the first post.
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940
Rep:
just in case you have a static ip: the man pages for iptables state it is better to use the target SNAT rather than MANGLE (again: only if you have a static ip)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.