Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
share|improve this question
add comment

1 Answer

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)
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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