[OpenBSD]
openBSD pf NAT 设置问题,请各位帮帮忙了!
VPN服务器:openBSD+openVPN
网络:internet 固定ip
局域网 192.168.1.5/24
现在VPN客户端能连接到VPN服务器上,但是ping不到局域网的其他计算机
所以我打算做NAT
OpenVPN创建的设备是tun0
下面是我的pf.conf配置
ext_if="xl1" #接internet
int_if="tun0"
int_net="10.8.0.0/31"
set optimization normal
scrub in all
nat on $ext_if from $int_net to any -> ($ext_if)
pass in all
pass out all
--------------------
请问一下这样为什么还是ping不通局域网的其他计算机!!!