海外去主机

kimsufi安装proxmox开纯ipv6的VPS

1、update

apt-get update
apt-get dist-upgrade
pveam update

2、vi /etc/sysctl.conf
尾部add

net.ipv6.conf.all.forwarding = 1
net.ipv6.conf.all.proxy_ndp = 1
net.ipv6.bindv6only = 1

3、/etc/network/interfaces

# vmbr2: IPv6
auto vmbr2
iface vmbr2 inet6 static
address IPV6::2
netmask 64
bridge_ports none
bridge_stp off
bridge_fd 0
post-up echo 1 > /proc/sys/net/ipv6/conf/all/proxy_ndp
post-up echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
post-up echo 1 > /proc/sys/net/ipv6/conf/default/forwarding
post-up /sbin/ip -f inet6 neigh add proxy IPV6::2 dev vmbr2
post-up /sbin/ip -f inet6 neigh add proxy IPV6::3 dev vmbr0
post-up /sbin/ip -f inet6 route add IPV6::3 dev vmbr2

4、service networking restart
proxmox GUI界面,IPIPV6::3/64,网关gatewayIPV6::2,etc

ping6 google.com
enjoy!

赞(0)

评论 1

登录

找回密码

注册