openvpn
openvpn相关
Sunday, December 27th, 2009 | 网站技术 | No Comments
vi /etc/sysctl.conf
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -j SNAT --to-source 1.2.3.4
/sbin/iptables -t nat -A POSTROUTING -o venet0 -s 10.8.0.0/24 -j MASQUERADE
/etc/init.d/iptables save
/etc/init.d/iptables restart
vi /etc/sysconfig/iptables
cat /etc/sysconfig/iptables
Random Posts
Tags
Recent Comments
- Nan on 毕业10年小聚
- Nan on 毕业10年小聚
- 林捷 on 毕业10年小聚
- Stanley on 新入了Giant Tallerway 8.0 RD
- 落叶 on 新入了Giant Tallerway 8.0 RD