摘要: #开启本机的路由功能echo "1" > /proc/sys/net/ipv4/ip_forward SNAT#SNAT 修改来源IP为192.168.200.250iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to 192.168.200.250#SNAT 修改来源IP为192.168.200.210-220iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to 192.168.200.210-192.168.200.220#MASQUERADE算是SNAT的一种ip 阅读全文
posted @ 2013-11-09 21:51 松鼠飞翔吧 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 因为RHEL5.4 自带的OPENSWAN -2.6.21-5.el5无法生成RSA key (问题为 Error Generating a new ipsec hostkey http://www.centos.org/forums/viewtopic.php?t=20620), 所以源码安装op... 阅读全文
posted @ 2013-11-09 21:03 松鼠飞翔吧 阅读(1257) 评论(0) 推荐(0) 编辑
摘要: http://wenku.baidu.com/link?url=dEVr3CGdMDKrTx8oInEc089zatDOXG8lIpuyG4J2FU69LKB4HTr1Tn1VNY-lBuPFocad0u2yJyJZFyr5aWpSbmDa0s80Tj6GjUw4GhRT1gK 阅读全文
posted @ 2013-11-09 11:43 松鼠飞翔吧 阅读(61) 评论(0) 推荐(0) 编辑