rdr with tos filteropt

Oleksandr Kryvulia shuriku at shurik.kiev.ua
Thu Dec 24 10:43:50 UTC 2020


23.12.20 22:05, Özkan KIRIK пишет:
> Hi,
>
> I'm trying to rdr packages that has tos lowdelay only.
> But pf.conf doesn't support filteropt in rdr syntax.
> I need to write a rule like below:
> rdr proto tcp from 10.0.0.0/24 to any tos lowdelay -> 127.0.0.1 port 8080
>
> Is it possible to do anyway?

Maybe such rule:

pass quick proto tcp from 10.0.0.0/24 to any tos lowdelay divert-to
127.0.0.1 port 8080

Note, this require to load ipdivert.ko module.



More information about the freebsd-pf mailing list