2013年10月11日 星期五

[Network] How to enable forwarding and disable filtering


[Network] How to enable forwarding and disable filtering



Method 1

    echo "1" > /proc/sys/net/ipv4/ip_forward

    echo "1" > /proc/sys/net/ipv6/conf/all/forwarding



Method 2

    sysctl -w net.ipv4.ip_forward=1

    sysctl -w net.ipv6.conf.all.forwarding=1

    sysctl -w net.ipv4.conf.all.rp_filter=0



Reference :




      


Related Posts:

0 意見:

張貼留言