![]() In this example I’m using the Cloudflare malware blocking DNS filters, but you can of course just use your ISP’s DNS servers here. I have the 64 bit IPV6 prefix aaaa:bbbb:cccc:dddd and the IPv6 gateway is fe80::1. My public IPv4 address is with subnet 255.255.255.0 and gateway ww.xx.yy.1. On my VPN server, the public network interface is named ens192 (use the command $ ip addr to find it on your system). Of course when making changes to a remote server, make sure you can access a console without needing a working network connection on the server, in case things go wrong and the network connection breaks. It’s the most modern way of network configuration and works the same on all distributions using systemd, but of course you can make the same settings in /etc/network/interfaces or whatever your distribution uses. I use systemd-networkd to set up the network. Configuring the network on the VPN gateway ![]() By letting the VPN gateway answer NDP requests for the VPN client, the gateway would correctly send back all responses to the VPN gateway, which then forwards it to the VPN clients. Using this protocol, network devices can discover where on the network a certain IP is located. ![]() NDP or the Neighbour Discovery Protocol, is similar to ARP which is used in IPv4. I decided to try another way: using an NDP proxy. ![]() ![]() For some reason, IPv6 traffic successfully went through the VPN tunnel and then exited the VPN gateway, but then any response never reached my VPN gateway and hence also not the client. Most tutorials I found on the Internet, create a separate IPv6 subnet for the VPN but I could not get this to work. I read some documentation and blog posts, but I struggled getting it to work. As this is IPv6 of course I preferred not to use NAT, but to assign a public IP address to the client. I wanted to set up Wireguard on a VPS, not only to tunnel IPv4 traffic, but also allowing me to tunnel IPv6 traffic. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |