OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • [SOLVED] Client Static IP addresses in OpenVPN
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Client Static IP addresses in OpenVPN  (Read 3222 times)

bulmaro

  • Newbie
  • *
  • Posts: 42
  • Karma: 11
    • View Profile
[SOLVED] Client Static IP addresses in OpenVPN
« on: May 18, 2018, 09:15:21 pm »
In the configuration of server1.conf, the line client-config-dir /var/etc/openvpn-csc/1, allows me to create each file with user name of openvpn client with the configuration.
ifconfig-push 10.8.4.5 10.8.4.6
This assigns the ip to the openvp client when signing the connection.

my problem is that when there is an update or restart of the computer, it deletes the created configuration file.
Some idea to keep the file created manually or some configuration can be configured.
Thank you for your attention, Regards
« Last Edit: May 20, 2018, 01:06:11 pm by franco »
Logged

guest15389

  • Guest
Re: Client Static IP addresses in OpenVPN
« Reply #1 on: May 19, 2018, 08:13:55 pm »
My guess would be to add that to the Client Specific overrides in the advanced section.
Logged

bulmaro

  • Newbie
  • *
  • Posts: 42
  • Karma: 11
    • View Profile
Re: Client Static IP addresses in OpenVPN
« Reply #2 on: May 20, 2018, 01:38:07 am »
thanks for the reference, solved.
VPN / OpenVPN / Client Specific Overrides

In case someone serves you
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • [SOLVED] Client Static IP addresses in OpenVPN
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2021 All rights reserved
  • SMF 2.0.17 | SMF © 2019, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2