Date: Thu, 24 Dec 2020 12:17:29 +0200 From: Oleksandr Kryvulia <shuriku@shurik.kiev.ua> To: freebsd-pf@freebsd.org Subject: Re: rdr with tos filteropt Message-ID: <4298f735-b3d2-8342-173c-7a0e29630c6b@shurik.kiev.ua> In-Reply-To: <CAAcX-AHLoYEFMUWrznQYDcZZJBuanO%2Bs_w219UCtwrofzKwfDQ@mail.gmail.com> References: <CAAcX-AHLoYEFMUWrznQYDcZZJBuanO%2Bs_w219UCtwrofzKwfDQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4298f735-b3d2-8342-173c-7a0e29630c6b>