OPNsense Forum

English Forums => General Discussion => Topic started by: kumar on August 10, 2020, 08:20:42 pm

Title: Multiple Openvpn Client Profile - Getting disconnection
Post by: kumar on August 10, 2020, 08:20:42 pm
Dear OPNSense Users,

I am facing this problem, it would be great if someone help me on this, and also helpful for other users.

I have multiple openvpn client profiles, All are connecting and working perfectly. The issue is I need to load balance or PBR to multiple openvpn tunnels, so I need to create gateway for each or group of tunnels. I need to enable the TUN interface to create gateway. If I enable all the tun interfaces, I cannot able to connect more than one profile at a time. If I connect the second openvpn profile, the first tunnel getting restart and keep on connecting/disconnecting.

Let me explain in other way.
If I did not enabled the tun interfaces (openvpn binding interfaces) everything working fine, But If I enable the tun interface (Interfaces->(tunnel interface)->(tick)Enable Interface) to create the gateway, then both openvpn profiles are not connecting. Only one connection working at the same time, If I enable the second openvpn client connection profile then the first one getting restart and both are continuously getting restart.

Anyone face this kind of problem? or any other way to do PBR on tunnel?

Regards
Kumar 
Title: Re: Multiple Openvpn Client Profile - Getting disconnection
Post by: kumar on August 10, 2020, 08:24:23 pm
By the way I forgot to add some other information.
In the Openvpn client profile, I have disabled IPv6, enabled Dont pull routes, Dont add/remove routes in the configuration.
Regards