echo 'net.ipv4.ip_forward = 1' | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
sudo sh -c 'echo "net.inet.ip.forwarding=1" >> /etc/sysctl.conf && sysctl -w net.inet.ip.forwarding=1'
/etc/config/network
/etc/init.d/network restart
powered by kaifamiao