B
B
Bermut2021-12-22 08:14:24
openvpn
Bermut, 2021-12-22 08:14:24

IPv6 gateway based on ipv4 tunnel, is it possible?

I configured ipv6 on my hosts, I had an idea.
For example, there is a server with one white ipv4 and 64 blocks of ipv6 addresses. There is a client, it has only ipv4, and it is behind NAT (that is, it has a gray ip). Is it possible to configure openvpn (or another type of tunnel) so that the client and server connect via ipv4 to each other, but the client has a white ipv6, which issued the server and he also served as this ip gateway? Is this possible at all?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Ahmed C, 2021-12-31
@Bermut

Through OpenVPN it is quite possible, but a lot depends on the server host. Russian and other CIS countries have not really learned how to configure IPv6 in their networks yet. If the hoster on the gateway has IPv6 Router Advertising and Neighbor Discovery correctly configured, then there are 2 options - everything is on the server:
1. Bridge. Create an interface that listens to the network as br0, install and configure a local RA daemon broadcasting the existing /64 prefix and configure the UDP TAP OpenVPN server.
2. Install Neighbor discovery proxy and regular OpenVPN TUN TCP. Again, not all hosters have Neighbor Discovery on the router, a lot depends on the hoster.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question