Re: Policy targets...

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

 



Pedro Gonçalves írta:

*ACCEPT means to let the packet through.* DROP means to drop the on the floor. QUEUE means to pass the packet to userspace (if ported by the kernel). *RETURN means stop traversing this chain and resume at the next rule in the previous (calling) chain. If the end of a built-in chain is reached or a rule in a built-in chain with tar- get RETURN is matched, the target specified by the chain policy deter-
      mines the fate of the packet.*

Thanx for the answer but my question was that what happens when the CHAIN POLICY is RETURN... :D (The packet will be returned to the sender ??? :D [Don't get seriously, just kidding.])

iptables -t nat -P PREROUTING ACCEPT

vs.

iptables -t nat -P PREROUTING RETURN

Best Regards
pandre





[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