D
D
Dmitry2021-01-17 15:34:25
openvpn
Dmitry, 2021-01-17 15:34:25

How to specify in the OpenVPN settings which IPs to distribute to clients?

There is an OpenVPN server available that works with IPv4 and IPv6. But the trouble is that clients are given a random IPv6 from the entire /64 subnet available on the VPS. So this is the essence of the question - How to specify the IPv6 subnet in the OpenVPN settings, for example / 112 from which it should give external IPv6?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Drno, 2021-01-17
@Drno

ifconfig 192.168.10.1 255.255.255.0 # sets the virtual address of the server
ifconfig-pool 192.168.10.2 192.168.10.99 # sets the virtual address range for clients
ifconfig-ipv6 192.168.10.1 255.255.255.0 # sets the virtual address of the server
ifconfig-pool-ipv6 1912.25 192.168.10.99 # sets virtual address range for clients
https://www.google.com/search?q=%D0%B4%D0%B8%D0%B0...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question