-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 You should read about option --duplicate-cn in the manual.
Sent with ProtonMail Secure Email. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Wednesday, December 1st, 2021 at 16:10, Aleksandar Ivanisevic <aleksan...@ivanisevic.de> wrote: > Hi, > > for years I had > > dev tun0 > > server 192.168.13.0 255.255.255.0 > > and one CCD with ifconfig-push 192.168.13.5 192.168.13.6 > > the rest of the clients have empty ccd's > > I read that default topology is going away soon, so I wanted to switch to > subnet, and I did exactly as written in > https://community.openvpn.net/openvpn/wiki/Topology, i.e. added ‘topology > subnet’ to server config file and changed ifconfig-push to 192.168.13.5 > 255.255.255.0. > > All of a sudden openvpn gives .5 to my fixed CCD (as it should), but also > gives it to another random client who happened to connect earlier and got it > so I ended up with duplicate IPs and all sorts of havoc. > > Am I supposed to shrink the pool and give IPs that are not from the pool to > ifconfig-push? Why was it working so far using net30? or I was just lucky? > > I “solved" it at the end by persisting using ifconfig-pool-persist and > fiddling with the file, but it’s still a mystery to me what actually happened > here. > > server is 2.5.1, clients are all over, but none less than 2.4.4, the one with > fixed ip in the ccd is 2.4.9 > > Thanks. > > Openvpn-users mailing list > > Openvpn-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/openvpn-users -----BEGIN PGP SIGNATURE----- Version: ProtonMail wsBzBAEBCAAGBQJhp7KVACEJEE+XnPZrkLidFiEECbw9RGejjXJ5xVVVT5ec 9muQuJ19wgf/bRwDA2DHxPxgAFM05vI64EfOi05HKDQFNq5/GhqdITNX1zUT GeN8OXwbsg4Pl0B+x717OcBK+wLV5LnVvwX0r8NN03k+C96yoS77vhfaGNwZ 6nQmJDmZnnPonjg9LrFBwfZxbAZbWvYSHgpVDXoxJBp4WYfncPJq5/wcEss+ ptHJazVLwPAxBHx2BJemzSy9PouJ6gfzZySuqiuy0D2TMlujj9TuKn0+8xhJ O0rqQ3WsymMvTivYdvsDOix/A4Sg/D30zbZjEHhHK1TOLoN2l6ZWZF49MD8V 3d0ZX6QtntUHFNQKL0bgKE7XxmTVW+I0MnOLoFwxxs5rvBRx3Gv4Yg== =doVk -----END PGP SIGNATURE-----
publickey - tincantech@protonmail.com - 0x09BC3D44.asc
Description: application/pgp-keys
publickey - tincantech@protonmail.com - 0x09BC3D44.asc.sig
Description: PGP signature
_______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users