文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>为OPENVPN添加IPTABLES,可以让客户端访问公网

为OPENVPN添加IPTABLES,可以让客户端访问公网

时间:2010-09-21  来源:lh0365

 

iptables -t nat -A POSTROUTING -s 192.168.200.0/24 -d 192.168.1.0/24 -j SNAT --to-source 192.168.1.10

iptables -t nat -A POSTROUTING -s 192.168.200.0/24 -d 192.168.70.0/24 -j SNAT --to-source 192.168.70.10

iptables -t nat -A POSTROUTING -s 192.168.200.0/24 -o eth0 -j SNAT --to-source 公网IP

相关阅读 更多 +
排行榜 更多 +
别惹神枪手安卓版

别惹神枪手安卓版

冒险解谜 下载
坦克战争世界

坦克战争世界

模拟经营 下载
丛林反击战

丛林反击战

飞行射击 下载