banner
moeyy

moeyy

一条有远大理想的咸鱼。
github
mastodon
email

AWS Lightsail Centos7 Manually Enable IPV6

Control Panel#

Enable IPV6 and allow it through the firewall in the control panel.

image

Enable IPV6 and allow port access.

SSH Command Line#

First, enter the network card configuration file:

vi /etc/sysconfig/network-scripts/ifcfg-eth0

Then add the following at the bottom:

IPV6_AUTOCONF=yes

Then restart.

image

Testing#

Enter ping6 ipv6.google.com in SSH to test if it can be pinged successfully.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.