1
Portuguese - Português / Re: OpenVPN para de funcionar com Gateways Group
« on: March 16, 2021, 12:46:59 pm »
Bom Dia
Essas são as Configs:
Gateways Group
Gateway Priority:
Internet 1 => Tier1
Internet 2 => Tier2
Trigger Level => Member Down
VPN Server
General information:
Server Mode => Peer to Peer (Shared Key)
Protocol => UDP4
Device Mode => tun
Interface => Internet 2
Local Port => 1195
Cryptographic Settings:
Encryption algorithm => AES-256-CBC (256 bit key, 128 bit block)
Auth Digest Algorithm SHA512 (512-Bit)
Tunnel Settings:
IPv4 Tunnel Network => 172.32.2.0/24
IPv4 Local Network => 10.0.2.0/24
IPv4 Remote Network => 10.0.1.0/24
Concurrent connections => 1
Compression => Enabled - LZ4v2 algorithm (--compress lz4-v2)
Disable IPv6 => Marcado
Firewall: Rules: OpenVPN:
Protocol => IPv4 TCP/UDP
Source => *
Port => *
Destination => *
Port => *
Gateway => *
Schedule => *
Firewall: Rules: Internet 2
Protocol => IPv4 UDP
Source => *
Port => *
Destination => Internet 2 address
Port => 1195
Gateway => *
Schedule => *
Com essa configuração a VPN funciona normalmente. Agora quando defino a seguinte opção em Firewall: Rules: LAN e edito a regra de ipv4* trocando o gateway de default para o Gateway Group a VPN para de funcionar, e se voltar a colocar o gateway como default volta a funcionar.
Essas são as Configs:
Gateways Group
Gateway Priority:
Internet 1 => Tier1
Internet 2 => Tier2
Trigger Level => Member Down
VPN Server
General information:
Server Mode => Peer to Peer (Shared Key)
Protocol => UDP4
Device Mode => tun
Interface => Internet 2
Local Port => 1195
Cryptographic Settings:
Encryption algorithm => AES-256-CBC (256 bit key, 128 bit block)
Auth Digest Algorithm SHA512 (512-Bit)
Tunnel Settings:
IPv4 Tunnel Network => 172.32.2.0/24
IPv4 Local Network => 10.0.2.0/24
IPv4 Remote Network => 10.0.1.0/24
Concurrent connections => 1
Compression => Enabled - LZ4v2 algorithm (--compress lz4-v2)
Disable IPv6 => Marcado
Firewall: Rules: OpenVPN:
Protocol => IPv4 TCP/UDP
Source => *
Port => *
Destination => *
Port => *
Gateway => *
Schedule => *
Firewall: Rules: Internet 2
Protocol => IPv4 UDP
Source => *
Port => *
Destination => Internet 2 address
Port => 1195
Gateway => *
Schedule => *
Com essa configuração a VPN funciona normalmente. Agora quando defino a seguinte opção em Firewall: Rules: LAN e edito a regra de ipv4* trocando o gateway de default para o Gateway Group a VPN para de funcionar, e se voltar a colocar o gateway como default volta a funcionar.