30.09.2020, 12:53
(30.09.2020, 09:45)admin Wrote: Just configure OpenVPN from the UI, no need for any scripts.HiĀ
You should add these lines to OpenVPN configuration entry:
This won't use VPN connection as the default gateway. Otherwise all connections from LM (like HTTP requests etc) will go through VPN. It will still allow to connect to LM via VPN.Code:pull-filter ignore "route-gateway"
pull-filter ignore "dhcp-option DNS"
I have add this in the configuration file (client.ovpn) is correct
Have you one example for me?
Code:
tls-client
remote 188.9.31.29 1194
pull
proto udp
script-security 2
reneg-sec 0
cipher AES-256-CBC
auth SHA512
auth-user-pass
<ca>
-----BEGIN CERTIFICATE-----
MIIDdTCCAl2gAwIBAgIJAMEEGqnVR2xrMA0GCSqGSIb3DQEBCwUAMFExCzAJBgNV
BAYTAlRXMQ8wDQYDVQQHDAZUYWlwZWkxFjAUBgNVBAoMDVN5bm9sb2d5IEluYy4x
GTAXBgNVBAMMEFN5bm9sb2d5IEluYy4gQ0EwHhcNMTYwNjI3MTAwMTU1WhcNMzYw
MzE0MTAwMTU1WjBRMQswCQYDVQQGEwJUVzEPMA0GA1UEBwwGVGFpcGVpMRYwFAYD
VQQKDA1TeW5vbG9neSBJbmMuMRkwFwYDVQQDDBBTeW5vbG9neSBJbmMuIENBMIIB
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzLPBv1QnotlKNVUWbHcbvGGj
dEvjjkv7O8yEYmKOurpZfTdMUYR9x+s6Z+BNcohHK6R8IJVsf8mcDPtFhZDeAvD8
uPz7FectemYsZ5w5c47pIbRs6Iu3OtC6zXF2YZMiECViYlJvE6SMMCeNQe2KUKvR
aItmxPmVPgaYSjs0AJCZg2rDc6Z67qHa4dyAjZaqoMOgAJ/S39Yh7pAawEhsy7w4
GM22v12XGsuRI9EAG+ndqIsPpVG0VcRBWPIDPX1chmrjifjlL7PRS8QUBjiJYIxN
nTQmJ6vKZD07wGyV4ZztyfcUkhd1eOX/Nw8O8C9rYNKB3VTrhsBK7Gs0wC8JzQID
AQABo1AwTjAdBgNVHQ4EFgQUACHz421/vcP8TXlNbG4rSpM/xrYwHwYDVR0jBBgw
FoAUACHz421/vcP8TXlNbG4rSpM/xrYwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0B
AQsFAAOCAQEAqUe5CZLUkJXk0jrTaxrZYGgAs4AqTva+fWBEYHe1YFVwVhIBbe4N
fBm9W+9y3nEzzvZELJ4MU7rHUFXtWBqmnfG0BK1nlm1wweBh1B51ycDfWnri97f4
y8+cRR2zasx83sho6PBZADhnWpVDDePp3p6gfDrWNQxBQ4//Il+LUo0RjM832ooQ
1tkVA/W0tejiHU5z+GWNiu/tdnZAQhkAyFA4ZR6quO0Am6CFn9GWDsh3hjQQUIJj
d12uBUobvjBAoR1wqM70OI4Jv7DzyRk77BxXLuXVHOOGr7ou4KY8w0OYiEHm3rxh
Zqj3ewgBDTiy+5C2UYWxNAAVa26qFJwkSw==
-----END CERTIFICATE-----
</ca>
but i have this response from vpn status
Code:
Wed Sep 30 12:49:57 2020 SIGUSR1[soft,network-unreachable] received, process restarting
Wed Sep 30 12:49:57 2020 Network unreachable, restarting
Wed Sep 30 12:49:57 2020 write UDP: Network unreachable (code=101)
Wed Sep 30 12:49:57 2020 UDP link remote: [AF_INET]188.9.31.29:1194
Wed Sep 30 12:49:57 2020 UDP link local (bound): [AF_INET][undef]:1194
Wed Sep 30 12:49:57 2020 TCP/UDP: Preserving recently used remote address: [AF_INET]188.9.31.29:1194
Wed Sep 30 12:49:57 2020 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Wed Sep 30 12:49:47 2020 SIGUSR1[soft,network-unreachable] received, process restarting
Wed Sep 30 12:49:47 2020 Network unreachable, restarting
Wed Sep 30 12:49:47 2020 write UDP: Network unreachable (code=101)
Wed Sep 30 12:49:47 2020 UDP link remote: [AF_INET]188.9.31.29:1194
where is the problem error 101 what is it?
BR