Re: No internet connection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2004-09-09 at 10:40, Giancarlo Boaron wrote:
> Ok. I made my iptables script and I forgot to handle
> the DHCP protocol. So, my firewall box gets its IP
> address via DHCP. Thats a nice thing to test.

for the sake of the list archives:

  # DHCP server -> client
  iptables -A INPUT -p udp --sport 67 --dport 68 -j ACCEPT

  # DHCP client -> server
  iptables -A OUTPUT -p udp --sport 68 --dport 67 -j ACCEPT

-j

-- 
Jason Opperisano <opie@xxxxxxxxxxx>



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux