ifconfig-push is beein ignored

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
heinzelrumpel
OpenVpn Newbie
Posts: 19
Joined: Fri Jan 11, 2013 10:59 am

ifconfig-push is beein ignored

Post by heinzelrumpel » Mon Jun 12, 2017 8:59 am

Hello,

this is driving me crazy. I would like to connect 5 clients to our Server. Everyone of it should get the same ip address everytime they connect. The server subnet is 10.200.0.0/16. In server.conf I added "client-config-dir ccd". For one client to test I added an entry in ccd like this.

This is an inhouse client

Code: Select all

ifconfig-push 10.200.0.22 10.200.0.21
The client connects correctly but is given the ip 10.200.0.6. I have no clue why.

The next client are configured

Code: Select all

push "route 10.24.0.0. 255.255.252.0"
ifconfig-push 10.200.0.6 10.200.0.5

Code: Select all

push "route 10.24.0.0. 255.255.252.0"
ifconfig-push 10.200.0.10 10.200.0.

Code: Select all

push "route 10.24.0.0. 255.255.252.0"
ifconfig-push 10.200.0.14 10.200.0.13

Code: Select all

push "route 10.24.0.0. 255.255.252.0"
ifconfig-push 10.200.0.18 10.200.0.17
The next weird thing that happens is, that there is a ipp.txt, which I did not define in server.conf. It stats that the client, which should get 10.200.0.22, but actually is assigned 10.200.0.6, hast IP 10.200.0.4.

Does anyboy know, what I am missing?

heinzelrumpel
OpenVpn Newbie
Posts: 19
Joined: Fri Jan 11, 2013 10:59 am

Re: ifconfig-push is beein ignored

Post by heinzelrumpel » Mon Jun 12, 2017 9:38 am

My fault. I did not correctly name one of the files in ccd.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: ifconfig-push is beein ignored

Post by TinCanTech » Mon Jun 12, 2017 12:11 pm

We all make mistakes .. thanks for letting us know 8-)

Post Reply