Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
HA Setup with two uplinks: master/slave Problem with OpenVPN
« previous
next »
Print
Pages: [
1
]
Author
Topic: HA Setup with two uplinks: master/slave Problem with OpenVPN (Read 5521 times)
c-mu
Full Member
Posts: 210
Karma: 5
HA Setup with two uplinks: master/slave Problem with OpenVPN
«
on:
November 09, 2018, 08:35:27 am »
Hey Guys,
my setup:
Both latest FW to date: 18.7.7
WAN x.x.x.1 WAN x.x.x.2
| |
| |
DESICO Appliance DESICO Appliance
"Firewall1" "Firewall2"
| |
| |
---- HA SETUP (CARP) ----
|
|
LAN
The Problem:
Firewall1 should be allways the master and only if i do maintanance jobs or in case of hardware failure, the firewall 2 should do the work.
So the Problem is, that if i do a firmware update on FW1 (CARP Master) for example, the default gateway and VPN tunnel switches to FW2 (CARP BKP). All fine.
BUT if the FW1 is back to work, only the default gateway switches back to the master, but the VPN Tunnel is still active on FW2 with the result, that my LAN clients can't reach the companys vpn network. And me too can't connect to the Admin interface of the Appliances. I help me out with an allways running teamviewer client at this office.
Any suggestions to help me out?
Thank You!
config master:
system -> high availability:
sync states: checked
disable preempt: unchecked
syncinterface LAN
sync peer ip > FW2
firewall -> virtual ips > settings:
mode carp
interface LAN
address: virtual IP as gateway for the clinets
gateway: empty
virtial IP password: set
VHID Group 1
Advertising Freq.:
Base1 Skew 0
config slave:
system -> high availability:
sync states: chcked
disable preempt: unchecked
syncinterface LAN
sync peer ip > FW1
firewall -> virtual ips > settings:
mode carp
interface LAN
address: virtual IP as gateway for the clinets
gateway: empty
virtial IP password: set
VHID Group 1
Advertising Freq.:
Base1 Skew 100
Logged
c-mu
Full Member
Posts: 210
Karma: 5
Re: HA Setup with two uplinks: master/slave Problem with OpenVPN
«
Reply #1 on:
November 21, 2018, 08:33:23 am »
Has no one any idea?
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: HA Setup with two uplinks: master/slave Problem with OpenVPN
«
Reply #2 on:
November 21, 2018, 08:47:53 am »
With OpenVPN you have to select the VIP in interface so the daemon switches correctly ...
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
c-mu
Full Member
Posts: 210
Karma: 5
Re: HA Setup with two uplinks: master/slave Problem with OpenVPN
«
Reply #3 on:
November 21, 2018, 08:53:05 am »
Even, if the WAN Interface has no VIP? Then I will test it outside offices hours.
Theres only a VIP between the LAN Interfaces.
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: HA Setup with two uplinks: master/slave Problem with OpenVPN
«
Reply #4 on:
November 21, 2018, 09:01:44 am »
There is a script behind, that when you select to bind to a VIP, the daemon itself is only started on the master and always stopped at backup .. works charmy
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
c-mu
Full Member
Posts: 210
Karma: 5
Re: HA Setup with two uplinks: master/slave Problem with OpenVPN
«
Reply #5 on:
November 21, 2018, 09:07:23 am »
thats sounds realy good and suiteable to my setup. just for clarification:
we speak about VPN -> OpenVPN -> Client -> (select the specific client) -> Interface: There I should select my Virtual IP from LAN, right? And a background magic does the work.
My WAN does not have a VIP, becouse that are two different (physical) Uplinks.
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: HA Setup with two uplinks: master/slave Problem with OpenVPN
«
Reply #6 on:
November 21, 2018, 09:18:23 am »
I only tested with WAN VIP .. but in general this should also work.
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
c-mu
Full Member
Posts: 210
Karma: 5
Re: HA Setup with two uplinks: master/slave Problem with OpenVPN
«
Reply #7 on:
November 22, 2018, 03:43:32 pm »
I tested that now and it's working!
Thank you very much!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
HA Setup with two uplinks: master/slave Problem with OpenVPN