No internet connection
Hello.
I'm testing a new iptables script on my server box but after some minuts that this script is running, the clients in my LAN have no access to Internet. I'm using SQUID for proxing and caching.
I think I'm not being very restrictive for my IPTABLES rules because my clients still have Internet access after about 20 minuts when the script is running.
What can be wrong? Does my kernel have some limit about connections? Does it hava someting to do with the CONTRACK?
Regards.
Giancarlo
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Quoted 6 lines · Giancarlo Boaron
Hello.
I'm testing a new iptables script on my server box but after some minuts that this script is running, the clients in my LAN have no access to Internet. I'm using SQUID for proxing and caching.
Quoted 6 lines
I think I'm not being very restrictive for my IPTABLES rules because my clients still have Internet access after about 20 minuts when the script is running.
What can be wrong? Does my kernel have some limit about connections?
of course it does. i doubt it's the cause of your problem, but if you're curious:
grep ip_conntrack /var/log/messages
should show you something like:
ip_conntrack version 2.1 (6142 buckets, 49136 max) - 360 bytes
per conntrackthe number before max (49,136 in this case) is the max number of conntrack entries for the machine.
Quoted 2 lines
Does it hava someting to do with
the CONTRACK?
i doubt it. but posting your rules might help:
iptables -vnL -t mangle && iptables -vnL -t nat && iptables -vnL
i've been batting about zero with my stabs in the dark here recently--but here goes...
is it possible that you get your external IP via DHCP; and that you're blocking the DHCP packets between your firewall and the ISP's DHCP server. so you get an IP, start up your firewall, and at the first semaphore period, and either the DHCP server or client decides the other is no longer there, and your IP gets released?
-j
Signature · 1 line
Jason Opperisano <[email protected]>
Quoted 6 lines · Jason Opperisano
Quoted 5 lines · Giancarlo Boaron
Hello.
I'm testing a new iptables script on my server box but after some minuts that this script is running, the clients in my LAN have no access to Internet. I'm using SQUID for proxing and caching.
<snip>
Quoted 2 lines
i've been batting about zero with my stabs in the dark here recently--but here goes...
Heh, nice way of putting it.
Quoted 5 lines
is it possible that you get your external IP via DHCP; and that you're blocking the DHCP packets between your firewall and the ISP's DHCP server. so you get an IP, start up your firewall, and at the first semaphore period, and either the DHCP server or client decides the other is no longer there, and your IP gets released?
Isn't "some minutes" a rather short time for a DHCP lease to expire though?
That said, I'm not even going to swing for this one until we get some more information.
Signature · 1 line
mors omnia vincit