Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
16.7 Legacy Series
»
Fix IPs with OpenVPN?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Fix IPs with OpenVPN? (Read 5400 times)
PotatoCarl
Full Member
Posts: 134
Karma: 5
Fix IPs with OpenVPN?
«
on:
September 12, 2016, 02:54:29 pm »
Hi
I have issued with connection my Fritz!Box 7490 with OPNSense and I have the feeling that the configuration I used on my old 7390 is not "safe enough" for todays standard. So I wanted to connect directly one host behind the box with the OPNSense network via OPENVPN. Which works in fact fine. However, as I am relying on fixed IPs with my backup daemon, I would like to fix the IP4 address for this host when it dials in via OpenVPN.
I could not see any option for this. Can this be realized somehow? Otherwise I would have to generate a second server for "backbone hosts" instead.
Thanks
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: Fix IPs with OpenVPN?
«
Reply #1 on:
September 12, 2016, 04:02:21 pm »
There is an option for that in OpenVPN: ifconfig-pool-persist
You may need to add this in the advanced options if required.
Logged
PotatoCarl
Full Member
Posts: 134
Karma: 5
Re: Fix IPs with OpenVPN?
«
Reply #2 on:
September 14, 2016, 09:57:25 am »
Thank you for the answer. Just to confirm: I just add "ifconfig-pool-persist" in the "advanced" field in the openvpn server configuartion, correct? Can I select the IP or will it just be "it" from now own?
If the second option, what happens if all IP4s are used?
Thank you.
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: Fix IPs with OpenVPN?
«
Reply #3 on:
September 14, 2016, 09:23:37 pm »
no, the option needs a parameter (a filename)
Logged
PotatoCarl
Full Member
Posts: 134
Karma: 5
Re: Fix IPs with OpenVPN?
«
Reply #4 on:
September 16, 2016, 03:49:04 pm »
Sorry for asking stupid questions. I tried various forms additing it to the advance tabs, also looking up at OpenVPN homepage the options, but it is not accepted.
Can you give me an example for a correct line?
Thanks.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
16.7 Legacy Series
»
Fix IPs with OpenVPN?