Using iptables for forward some packets

Michael Still mikal at
Tue Jul 2 10:08:43 EST 2002


I am having iptables confusion issues. I have a packet (a DHCP request in
this case). The packet arrives on my firewall on wlan0, and I want to push
it straight out eth0. I then need to push the response back the same

I have:

echo "Forwarding selected wireless packets"
iptables -A FORWARD -i wlan0 -o eth0 -p udp --dport 67 -j ACCEPT
iptables -A FORWARD -i eth0 -o wlan0 -p udp --dport 67 -s -j ACCEPT

And I'm proud to say it doesn't work. Can I have a hint please?



Michael Still (mikal at     UMT+10hrs

More information about the linux mailing list