OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Ip static in OpenVpn client
« previous next »
  • Print
Pages: [1]

Author Topic: Ip static in OpenVpn client  (Read 3538 times)

litusbdn

  • Newbie
  • *
  • Posts: 21
  • Karma: 0
    • View Profile
Ip static in OpenVpn client
« on: March 15, 2018, 09:07:30 am »
Good Morning,
I have an OpenVpn server enabled.

I do not need to assign a specific IP to the clients that connect via road warrior VPN (network 10.10.10.X). Is it possible to do a Mac-IP relationship so that the same computer always gets the same ip from the VPN server?

Thanks
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 2023
  • Karma: 194
    • View Profile
Re: Ip static in OpenVpn client
« Reply #1 on: March 15, 2018, 04:25:00 pm »
Try this? https://michlstechblog.info/blog/openvpn-set-a-static-ip-address-for-a-client/

Bart...
Logged

litusbdn

  • Newbie
  • *
  • Posts: 21
  • Karma: 0
    • View Profile
Re: Ip static in OpenVpn client
« Reply #2 on: March 19, 2018, 01:12:50 pm »
Hello,

I have tried this: VPN: OpenVPN: Client Specific Overrides

When I activate this option, the following error appears in the VPN client (see photos)

Because something that has to be simple complicates me so much ... :(

UPDATE:   if i change 10.10.0.0 (you can see in the photo) -> 255.255.255.252 it does not work either
« Last Edit: March 19, 2018, 01:18:37 pm by litusbdn »
Logged

litusbdn

  • Newbie
  • *
  • Posts: 21
  • Karma: 0
    • View Profile
Re: Ip static in OpenVpn client
« Reply #3 on: March 22, 2018, 09:00:51 am »
Good Morning,

Does anyone have any idea how to solve this problem?

Thank you so much
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Ip static in OpenVpn client
 

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