文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
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

相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载