Re: bypassing a prerouting rule

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

 



On Wed, 2004-06-23 at 09:24, Manestro Oliveira wrote:
> Hi,
>       I am a begginer to Linux and I have a PREROUTING rule that makes port 
> redirection on incoming packages. But there is a server that don`t accept 
> that, and works only without that rule. How can I bypass the rule for that 
> server specifically?
> 
>      If iptables works by matching rules and leaving the other ones without 
> checking them, then I should insert a rule before that and the problem is 
> solved. Is this correct?
> 
>      Sorry if the question might be stupid, but I am taking the chance for 
> being stupid now (and maybe not forever). >)
<snip>
Yes, you can place an ACCEPT rule before the REDIRECT rule and that will
halt processing in the PREROUTING chain for that match.  Thanks for
asking :-) - John
-- 
John A. Sullivan III
Chief Technology Officer
Nexus Management
+1 207-985-7880
john.sullivan@xxxxxxxxxxxxx
---
If you are interested in helping to develop a GPL enterprise class
VPN/Firewall/Security device management console, please visit
http://iscs.sourceforge.net 



[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