Hi,
I have a local DNS server running on localhost:53.
I want all my jails DNS traffic to be redirected to my local DNS server.
The host also uses the local DNS server
The jails are each on their own epairs on sequential IPs in range 10.0.0.0/24 (even ones for the host side odd ones for the jail side).
Packets from this range on the external interface are nat'ed to the external interface
with rules like this:
The nat rules work all fine.
Can this be done in PF?
None of the things that I tried in PF worked.
Thanks in advance!
I have a local DNS server running on localhost:53.
I want all my jails DNS traffic to be redirected to my local DNS server.
The host also uses the local DNS server
The jails are each on their own epairs on sequential IPs in range 10.0.0.0/24 (even ones for the host side odd ones for the jail side).
Packets from this range on the external interface are nat'ed to the external interface
with rules like this:
Code:
nat pass on $ext_if from 10.0.0.2 to any -> ($ext_if)
Can this be done in PF?
None of the things that I tried in PF worked.
Thanks in advance!