Gateway Group & Failover with redirect-gateway def1

This forum is for admins who are looking to build or expand their OpenVPN setup.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
Xirtam
OpenVpn Newbie
Posts: 4
Joined: Mon Sep 07, 2020 11:51 pm

Gateway Group & Failover with redirect-gateway def1

Post by Xirtam » Mon Sep 07, 2020 11:54 pm

So I'm having this problem with Openvpn that I can't figure out, if my VPN tunnel goes down and pfsense gateway monitor switches to my secondary gateway the Openvpn variable "redirect-gateway def1" is still in effect and is trying to route all traffic via the downed gateway. The only way for the redirect to secondary gateway to work is if I actually Disable the Openvpn server or remove the variable from config, then pfsense will finally route all traffic via the secondary working gateway. This seems like such an obvious thing that should of been thought of prior to adding openvpn into pfsense. Am I missing something here? I can't be the first person with this problem.

Xirtam
OpenVpn Newbie
Posts: 4
Joined: Mon Sep 07, 2020 11:51 pm

Re: Gateway Group & Failover with redirect-gateway def1

Post by Xirtam » Wed Sep 09, 2020 2:33 am

BUMP please
BUMP please
BUMP please

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 7812
Joined: Fri Jun 03, 2016 1:17 pm

Re: Gateway Group & Failover with redirect-gateway def1

Post by TinCanTech » Wed Sep 09, 2020 5:24 am

BUMP what ?

Either pfSense

or

viewtopic.php?f=30&t=22603

Xirtam
OpenVpn Newbie
Posts: 4
Joined: Mon Sep 07, 2020 11:51 pm

Re: Gateway Group & Failover with redirect-gateway def1

Post by Xirtam » Thu Sep 10, 2020 2:00 am

TinCanTech wrote:
Wed Sep 09, 2020 5:24 am
BUMP what ?

Either pfSense

or

viewtopic.php?f=30&t=22603
Idunno, this post. Can I just get a useful reply?

Xirtam
OpenVpn Newbie
Posts: 4
Joined: Mon Sep 07, 2020 11:51 pm

Re: Gateway Group & Failover with redirect-gateway def1

Post by Xirtam » Thu Sep 17, 2020 12:26 am

Mod: Removed link, no need for that.
Last edited by Pippin on Thu Sep 17, 2020 10:42 am, edited 1 time in total.
Reason: Link removed.

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 7812
Joined: Fri Jun 03, 2016 1:17 pm

Re: Gateway Group & Failover with redirect-gateway def1

Post by TinCanTech » Thu Sep 17, 2020 1:26 am

Spamburgers batman !

User avatar
Pippin
Forum Team
Posts: 869
Joined: Wed Jul 01, 2015 8:03 am

Re: Gateway Group & Failover with redirect-gateway def1

Post by Pippin » Thu Sep 17, 2020 10:44 am

This is an in between.

Either ask for help at Netgate forum or post information requested, or both, up to you.

Post Reply