Configure Kali Linux to use VPN on IPv6 with OpenVPN configuration file
apt install network-manager-openvpn-gnome
sudo nmcli connection import type openvpn file /path/to/<vpn name>.ovpn
sudo nmcli connection modify <vpn name> ipv4.never-default true ipv6.never-default true
You can then go to Settings/Network In Kali Linux and toggle on the VPN or make changes to the configurations.
Install tools for IPv6
apt-get install netcat-openbsd
# Use
nc.openbsd $IP $PORT
Configure Firefox to use IPv6
Firefox does not prefer IPv6 connectivity over IPv4 connectivity if both exist. Therefore, we must change Firefox to prefer IPv6 sites when we have a choice.
- Using Firefox, type “about:config” in the URL bar
- Change configurations:
- network.dns.ipv4OnlyDomains : set to an empty list
- network.dns.disableIPv6 : set to false
Test IPv6 connectivity
- https://ipv6-test.com/
- https://test-ipv6.com
- Manually test with a web browser: http://[2001:db8:100:200::1234]/