Open KodakMaciel opened 4 days ago
is it one server OpenVPN instance?
is it one server OpenVPN instance?
Yes! Its one server published to the internet, using two ISPs.
If I understand it correctly, nothing special must be considered. Just follow the normal docs.
If I understand it correctly, nothing special must be considered. Just follow the normal docs.
There are two .ovpn configuration files redirecting to two ISPs, but on the same server, what would the openvpn-auth-oauth2 file look like?
dev tun
proto udp
remote 192.168.xxx.90 1194
resolv-retry 60
ca caT.crt
cert clientT.crt
key clientT.key
verb 5
remote-cert-tls server
auth-nocache
cipher AES-256-CBC
client
dev tun
proto udp
remote 192.168.xxx.60 1194
resolv-retry 60
ca caT.crt
cert clientT.crt
key clientT.key
verb 5
remote-cert-tls server
auth-nocache
cipher AES-256-CBC
openvpn-auth-oauth2 does only work on server. The management interface on the server must enabled. openvpn-auth-oauth2 will connect to the server instance.
openvpn-auth-oauth2 does only work on server. The management interface on the server must enabled. openvpn-auth-oauth2 will connect to the server instance.
I use two connection links for different ISPs. How do I specify this in the openvpn-auth-oauth2 configuration file?
CONFIG_HTTP_BASEURL="https://ISP_1:9000"
CONFIG_HTTP_BASEURL="https://ISP_2:9000"
Would a single domain with both ISP IP (2 A Records) a solution?
Would a single domain with both ISP IP (2 A Records) a solution?
It’s not ideal because it will attempt to send information to both ISPs, and if one is down, it may send to the ISP that is unavailable.
Is it possible to configure two services of openvpn-auth-oauth2? For example, indicating openvpn-auth-oauth2_config_1 and openvpn-auth-oauth2_config_2?
The underlaying library requires the information about the redirect URL (which based on Base URL) at initialization and the initialization step is done at program start.
It’s not ideal because it will attempt to send information to both ISPs, and if one is down, it may send to the ISP that is unavailable.
At leasts browsers are retry a different IP, if one is down.
The current workaround would 2 distinct OpenVPN servers.
Problem Statement
I currently have an OpenVPN server with two integrated links and different IPs for the connection. How do I configure OpenVPN with other links?
Could you give an example?
openvpn-auth-oauth2 logs
Environment