3

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
1

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)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.