Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
OpenVPN: Pushing IPs to clients with csr
« previous
next »
Print
Pages: [
1
]
Author
Topic: OpenVPN: Pushing IPs to clients with csr (Read 377 times)
Tesla2k
Newbie
Posts: 7
Karma: 0
OpenVPN: Pushing IPs to clients with csr
«
on:
May 03, 2024, 09:28:28 am »
Hello,
I upated an old OpnSense installation to the current Version (24.1.6). I used csr to push specifiv IPs to my OpenVPN clients e.g. ifconfig-push 10.6.2.57 10.6.2.58.
I now learned that this has been removed and I need to use "IPv4 Tunnel Network". But when I enter 10.6.2.57/32 there the client seems to get the wrong IP. I get this message on the client:
There is a problem in your selection of --ifconfig endpoints [local=10.6.2.59, remote=10.6.2.58].
.58 and .59 insteaad off .57 and .58
What am I doing wrong? How can I fix it.
Thank You
Logged
Tesla2k
Newbie
Posts: 7
Karma: 0
Re: OpenVPN: Pushing IPs to clients with csr
«
Reply #1 on:
May 03, 2024, 09:54:44 am »
I think I found the solution.
When I enter 10.6.2.56/32 in IPv4 Tunnel Network it works.
Logged
muchacha_grande
Full Member
Posts: 219
Karma: 19
Re: OpenVPN: Pushing IPs to clients with csr
«
Reply #2 on:
May 03, 2024, 10:21:14 pm »
Hi, Tesla2k, that is indeed the right way to do it. I found myself with that same problem and arrived to the same solution.
Cheers
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
OpenVPN: Pushing IPs to clients with csr