4

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
unclejamil
  • 914
  • 6
  • 12

1 Answers1

2

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)
AFresh1
  • 201
  • 1
  • 4