使能Ubuntu的IPv6转发功能
时间:2019-11-24 19:55:25
收藏:0
阅读:679
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
原文:https://www.cnblogs.com/yanhc/p/11923314.html
评论(0)