为Linux服务器生成添加公网IP的命令
/etc/network/interfaces
/etc/sysconfig/network-scripts/
ip addr show
使用sysctl -w net.ipv6.conf.all.forwarding=1开启IPv6转发,sysctl -p使配置生效
sysctl -w net.ipv6.conf.all.forwarding=1
sysctl -p