This nat rule doesn't seem necessary.

This commit is contained in:
Tom Alexander 2023-04-27 17:02:21 -04:00
parent 8867761939
commit 04a8ba064f
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -23,7 +23,6 @@ rdr pass on $not_ext_if proto {tcp, udp} from any to 10.215.1.1 port 53 -> 1.1.1
nat pass on $ext_if inet from 10.215.2.0/24 to !10.215.2.0/24 -> (wlan0) nat pass on $ext_if inet from 10.215.2.0/24 to !10.215.2.0/24 -> (wlan0)
rdr pass on $not_ext_if proto {tcp, udp} from any to 10.215.2.1 port 53 -> 1.1.1.1 port 53 rdr pass on $not_ext_if proto {tcp, udp} from any to 10.215.2.1 port 53 -> 1.1.1.1 port 53
nat pass on restricted_nat inet proto tcp from any to any port 8081 -> (restricted_nat)
rdr pass on $ext_if inet proto tcp from any to any port 8081 -> 10.215.2.2 port 8081 rdr pass on $ext_if inet proto tcp from any to any port 8081 -> 10.215.2.2 port 8081
# Forward ports for unifi controller # Forward ports for unifi controller