使能Ubuntu的IPv6转发功能

僤鯓⒐⒋嵵緔 提交于 2019-12-05 11:50:35

 

root@yanhc-Aspire-4738G:/home/yanhc# cat /proc/sys/net/ipv4/ip_forward
0
root@yanhc-Aspire-4738G:/home/yanhc# cat /proc/sys/net/ipv6/ip_forward
cat: /proc/sys/net/ipv6/ip_forward: 没有那个文件或目录
root@yanhc-Aspire-4738G:/home/yanhc# cat /proc/sys/net/ipv6/conf/all/forwarding
0
root@yanhc-Aspire-4738G:/home/yanhc# sysctl -w net.ipv6.conf.all.forwarding=1
net.ipv6.conf.all.forwarding = 1
root@yanhc-Aspire-4738G:/home/yanhc# cat /proc/sys/net/ipv6/conf/all/forwarding
1

 

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!