我在 Ubuntu 12.04 桌面上通过 IPredator 运行 VPN,当 ufw 被禁用时,它可以完美运行。
当我启用 ufw 时,逻辑上无法建立连接。IPredator 指出我必须满足以下 IP 范围才能使一切正常运行:
First IP address: 46.246.32.0
Last IP address: 46.246.63.255
Net mask: 255.255.224.0
我已经完成了基本的 ufw 配置,按照这个教程:
25005/tcp ALLOW Anywhere
25005/udp ALLOW Anywhere
25005/tcp ALLOW Anywhere (v6)
25005/udp ALLOW Anywhere (v6)
25,53,80,110,443/tcp ALLOW OUT Anywhere
53,67,68/udp ALLOW OUT Anywhere
51413/tcp ALLOW OUT Anywhere
51413/udp ALLOW OUT Anywhere
6969/tcp ALLOW OUT Anywhere
25,53,80,110,443/tcp ALLOW OUT Anywhere (v6)
53,67,68/udp ALLOW OUT Anywhere (v6)
51413/tcp ALLOW OUT Anywhere (v6)
51413/udp ALLOW OUT Anywhere (v6)
6969/tcp ALLOW OUT Anywhere (v6)
如何在 ufw 中配置提到的 IP 范围?