What is the OpenBSD 4.7 equivalent of this line from OpenBSD 4.9 for use with pf?
no nat on egress proto udp from 192.168.1.10 port 4672 to any
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
Assuming your previous rules were something like this:
nat on egress from 192.168.1.0/24 -> (egress) no nat on egress proto udp from 192.168.1.10 port 4672 to any
an example of doing this with the new rules would be
match out on egress proto udp from 192.168.1.10 port 4672 tag NONAT match out on egress from 192.168.1.0/24 !tagged NONAT nat-to (egress)