Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Apr 2019 08:22:44 +0300
From:      Artem Viklenko <artem@viklenko.net>
To:        freebsd-net@freebsd.org
Subject:   Re: need help with ipfw nat to pf nat migration
Message-ID:  <4587c1d4-0fa6-40db-c394-5b3a2ee81646@viklenko.net>
In-Reply-To: <20190404043004.GA10861@admin.sibptus.ru>
References:  <20190401033424.GA95019@admin.sibptus.ru> <75502aa3-0e10-fbba-d56b-5716e91e7b27@akhmatov.ru> <20190402070346.GA15400@admin.sibptus.ru> <391e8839-00ce-0d2d-36e7-616c7d86cc30@viklenko.net> <20190404043004.GA10861@admin.sibptus.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
04.04.19 07:30, Victor Sudakov пише:
> 
> 1.
> 
>> pass in quick on $int_if inet proto tcp from $server to any flags S/SA keep state allow-opts tag SERVER
> 
> 2.
> 
>> block return-rst out log quick on $mob_if inet proto tcp to any port 25 tagged SERVER
> 
> You have already passed the packet with "quick" in the first rule, it
> probably will never hit the second "block" rule?
> 

No, each rule bound to different interface - i.e. different conditions.


-- 
Regards!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4587c1d4-0fa6-40db-c394-5b3a2ee81646>