PF 转发
简介
pass in on egress proto tcp from any to any port 80 rdr-to 192.168.1.20pass in on egress proto tcp from 203.0.113.0/24 to any port 80 rdr-to 192.168.1.20pass in on egress proto tcp from 203.0.113.14 to any port 80 rdr-to 192.168.1.20
pass in on egress proto tcp from 198.51.100.89 to any port 80 rdr-to 192.168.1.22
pass in on egress proto tcp from 198.51.100.178 to any port 80 rdr-to 192.168.1.23pass in on egress proto tcp from any to any port 5000:5500 \
rdr-to 192.168.1.20
pass in on egress proto tcp from any to any port 5000:5500 \
rdr-to 192.168.1.20 port 6000
pass in on egress proto tcp from any to any port 5000:5500 \
rdr-to 192.168.1.20 port 7000:*安全影响
重定向与反射
视域分离 DNS
将服务器移入独立的本地网络
TCP 代理
RDR-TO 与 NAT-TO 组合
最后更新于