Jan 13 2009

linux的网关功能

Category: 技术ssmax @ 17:30:38

今天发现北京到杭州的一条ip隧道不通了,不知道为啥,发出来的包好像被本机吞掉了,没有继续发下去的样子,检查了半天,最后发现是sysctl里面被人改了。forwarding本来默认是1的,现在默认是0了,真tmd郁闷,重新开了,把ip隧道重启一下就好了。。。

net.ipv4.conf.default.forwarding=1
net.ipv4.conf.all.forwarding=1

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.