[root@localhost ~]# eth0 "1"> /proc/sys/net/ipv4/ip_forward
 bash: eth0: command not found
 如果出现这个问题,在修改/etc/sysctl.conf文件把.net.ipv4.ip_forward = 0 的0改为1就可以了

0表示关闭   1表示开启       最后需要重启