Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
openVpn client + virtual IPs issue or bug ? help ...
« previous
next »
Print
Pages: [
1
]
Author
Topic: openVpn client + virtual IPs issue or bug ? help ... (Read 1751 times)
ledufakademy
Newbie
Posts: 17
Karma: 0
openVpn client + virtual IPs issue or bug ? help ...
«
on:
November 14, 2020, 11:47:11 am »
hum openSense is
probably
having a BIG bug !!!!
what is the best gateway conf for this conf ? (perhaps my problem is here ?)
i have an openVpn client setup , tun is up , ok. (ovpnc2), on WAN iface
VPN-1 UDP 11.11.11.129(gw) 11.11.11.185(ip) 2020-11-14 00:03:44 325 KB 275 KB up
So i do an assignement of ovpnc2 to virtual iface WAN_VPN (virtual interface in oprder to fully manage incomming and outgoing packets)
then i create 3 virtual ip on "WAN_VPN" using public IPs given by my vpn provider using Interfaces \ Virtual IPs \ settings :
- 11.11.11.101/32 , gw 11.11.11.129
- 11.11.11.102/32 , gw 11.11.11.129
- 11.11.11.103/32 , gw 11.11.11.129
Then i change Upstream gateway to VPN one, same thing for system \ settings \ general
And if i came back to Interface\ WAN_VPN , then simply clic on SAVE :
The following input errors were detected:
This interface is referenced by IPv4 VIPs. Please delete those before setting the interface to 'none' configuration.
This interface is referenced by IPv4 VIPs. Please delete those before setting the interface to 'none' configuration.
This interface is referenced by IPv4 VIPs. Please delete those before setting the interface to 'none' configuration.
(the config seems to work afterall !!)
Where am i wrong ?
«
Last Edit: November 14, 2020, 12:50:09 pm by ledufakademy
»
Logged
ledufakademy
Newbie
Posts: 17
Karma: 0
Re: openVpn client + virtual IPs issue or bug ?
«
Reply #1 on:
November 14, 2020, 12:27:16 pm »
i decide to reboot firewall ... in order to see if the conf is stable ...
my openvpn tun don't want to up.
there is something wrong with:
openvpn + virtual ips !
Logged
ledufakademy
Newbie
Posts: 17
Karma: 0
Re: openVpn client + virtual IPs issue or bug ? help ...
«
Reply #2 on:
November 14, 2020, 01:46:58 pm »
THE problem is :
if you setup dns with gateway via VPN (System: Settings: General)... AND your vpn provider with a DNS name in openvpn setup : there is a big problem !
vpn.myvpnprov.com ... .can't be resolved, so no tun is up .
For solving that issue i simply put the public ip fo my VPN provider in openvpn conf.
But the GUI always complains with (when trying to save WAN_VPN iface), any way the conf is working , weird :
The following input errors were detected:
This interface is referenced by IPv4 VIPs. Please delete those before setting the interface to 'none' configuration.
This interface is referenced by IPv4 VIPs. Please delete those before setting the interface to 'none' configuration.
This interface is referenced by IPv4 VIPs. Please delete those before setting the interface to 'none' configuration.
«
Last Edit: November 14, 2020, 01:48:55 pm by ledufakademy
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
openVpn client + virtual IPs issue or bug ? help ...