i cannot etablish connection

Need help configuring your VPN? Just post here and you'll get that help.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
vpnfreeway
OpenVpn Newbie
Posts: 4
Joined: Fri Oct 15, 2021 1:23 pm

i cannot etablish connection

Post by vpnfreeway » Fri Oct 15, 2021 1:26 pm

this is log :

2021-10-15 14:56:15 Note: option tun-ipv6 is ignored because modern operating systems do not need special IPv6 tun handling anymore.
2021-10-15 14:56:15 DEPRECATED OPTION: --cipher set to 'AES-128-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-128-CBC' to --data-ciphers or change --cipher 'AES-128-CBC' to --data-ciphers-fallback 'AES-128-CBC' to silence this warning.
2021-10-15 14:56:15 Flag 'def1' added to --redirect-gateway (iservice is in use)
2021-10-15 14:56:15 OpenVPN 2.5.0 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Oct 28 2020
2021-10-15 14:56:15 Windows version 10.0 (Windows 10 or greater) 64bit
2021-10-15 14:56:15 library versions: OpenSSL 1.1.1h 22 Sep 2020, LZO 2.10
Enter Management Password:
2021-10-15 14:56:21 TCP/UDP: Preserving recently used remote address: [AF_INET]xxxxxxxxxxx:17288
2021-10-15 14:56:21 Attempting to establish TCP connection with [AF_INET]xxxxxxxxxxx:17288 [nonblock]
2021-10-15 14:56:21 TCP connection established with [AF_INET]xxxxxxxxxx:17288
2021-10-15 14:56:21 TCP_CLIENT link local: (not bound)
2021-10-15 14:56:21 TCP_CLIENT link remote: [AF_INET]xxxxxxxxxx:17288
2021-10-15 14:56:21 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
2021-10-15 14:56:21 [Freebox OpenVPN server 2d1e718615f6c6498a0094cc156feb0b] Peer Connection Initiated with [AF_INET]xxxxxxxxxx:17288
2021-10-15 14:56:22 There is a problem in your selection of --ifconfig endpoints [local=192.168.27.66, remote=212.27.38.253]. The local and remote VPN endpoints must exist within the same 255.255.255.252 subnet. This is a limitation of --dev tun when used with the TAP-WIN32 driver. Try 'openvpn --show-valid-subnets' option for more info.
2021-10-15 14:56:22 Exiting due to fatal error



this is config :

client
remote xxxxxxxxxxx 17288
proto tcp-client
nobind
dev-type tun
tun-ipv6
pull
dev tun0
redirect-gateway
auth-user-pass
auth-retry interact
cipher AES-128-CBC
remote-cert-tls server
verify-x509-name "C=FR, O=Freebox SA, CN=Freebox OpenVPN server 2d1e718615f6c6498a0094cc156feb0b"
# use tls-remote instead of verify-x509-name for deprecated openssl
# tls-remote "/C=FR/O=Freebox_SA/CN=Freebox_OpenVPN_server_2d1e718615f6c6498a0094cc156feb0b"
<ca>
-----BEGIN CERTIFICATE-----
MIIDvDCCAqSgAwIBAgIJAKZENvmyAKbHMA0GCSqGSIb3DQEBCwUAMGsxCzAJBgNV
BAYTAkZSMRMwEQYDVQQKDApGcmVlYm94IFNBMUcwRQYDVQQDDD5GcmVlYm94IE9w
ZW5WUE4gc2VydmVyIENBIGZvciAyZDFlNzE4NjE1ZjZjNjQ5OGEwMDk0Y2MxNTZm
ZWIwYjAeFw0yMTA2MjYyMTMxMTZaFw0zODAxMTkwMzE0MDZaMGsxCzAJBgNVBAYT
AkZSMRMwEQYDVQQKDApGcmVlYm94IFNBMUcwRQYDVQQDDD5GcmVlYm94IE9wZW5W
UE4gc2VydmVyIENBIGZvciAyZDFlNzE4NjE1ZjZjNjQ5OGEwMDk0Y2MxNTZmZWIw
YjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANSXS4O51nwJtUxLMekx
hQXOY4CadfEWRfe4oRVbIrdHegQTl74JJQII95QJCvNbyC+BH7wwvBnusGz66ugU
9+BiH0F7a6QaukLwA3PgILF8C9Y6JhmXAcUO3EhbtWy/qMlOlrteVGOWHAtN9VJU
/+OG4PxgRfIyLeaw3HOE0y43LO2zneSenaGl/2gyXxPueEXBXz8OYUXJoWDhV3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tpkv7208RoGJnTs2eHfWtz0IVjiROe+vtq4WYL1DNj0JpQr/e81jlj
c5thgNHoTAb/Ok1ZZD/otcSjj5jk96LO/oWOLafFkQKBgQDbjCTmoGhhmNuuBYEJ
3eq06COhn7D76RMNVgBIRdWKpkxzvL1WzaGpRTIB5VOm6DzthqcNGObn3XZ3/ZpH
JfsQeItVQV4npqdGA2QzDfW0HQZ49yYeOJZiRO3IXNxRimHznRVXL/fkorqfXV/S
cr5Vn/yXQ1GpmxIkn9kfUgveMwKBgQDS3IJzePwdb5nIFEiZC7XY5iCqimO/1OBM
1iu619Xio1VwHxvFXVGeRNjAiNwSfqcS9RKjGijtIO/+TX2jHUKmpT/stchOlxzU
uLwGo0FHhAIac/YA76LsnAf0bZO+aejjKu+MBx1xiJVt0Kg45mNnb6qGHyZtQO+v
S/B0lpEluQKBgH39QZvbx6riVobZ/8ASysMASJpSkvUtPtKzXLwc3zuOzWbJk/pB
TRlfbSArY0LwGS7RzAG3HaNHstmO/j8AK8C6/HJzbb3hZDLIdXLa+vpegb1fT0+e
d6ZzGeWWbJSajjWIGpwLGf3p6KDVq8yQLmviwMhpSG7FX7cGyEmyAr+DAoGAQgc+
6j3WZLlPpHGFkjcyiGr3i6+uMKHOYwElzGpN1Zxj4qo7HgBs0Gyqmw/AKiJy2uLX
JS/J5QdNX4qQbwV4m4pfjBYYVVPIeWwnpMR2apiRuArb28sub30kmIu/mf68KHaH
cIfB1o14jVyrcLXkJr223ize8ZNF+tSCxV9osDECgYEApv5AcCL8mbO6CgEOEnHF
XOnJnDLD+lb+3GZwzP+/IQq7plRcwi8Wctdxu3AEZ6QCFI//XF2l1d1NDeyMazy7
dxwIRXv12zUohZTkAnjh4CvW+8B0ECf8fLCpemio/UY7SUF1OLgpS7yhnsDfn0g5
YgQlzP/vbdRUIXyamPBlPuw=
-----END PRIVATE KEY-----
</key>



please help me why doesnt work

User avatar
TinCanTech
Forum Team
Posts: 9979
Joined: Fri Jun 03, 2016 1:17 pm

Re: i cannot etablish connection

Post by TinCanTech » Fri Oct 15, 2021 1:38 pm

Contact your server admin.

vpnfreeway
OpenVpn Newbie
Posts: 4
Joined: Fri Oct 15, 2021 1:23 pm

Re: i cannot etablish connection

Post by vpnfreeway » Mon Oct 18, 2021 7:08 pm

this is freebox so not server admin....

i have really problem

User avatar
TinCanTech
Forum Team
Posts: 9979
Joined: Fri Jun 03, 2016 1:17 pm

Re: i cannot etablish connection

Post by TinCanTech » Mon Oct 18, 2021 7:32 pm

Are you the server admin ?

vpnfreeway
OpenVpn Newbie
Posts: 4
Joined: Fri Oct 15, 2021 1:23 pm

Re: i cannot etablish connection

Post by vpnfreeway » Mon Nov 01, 2021 4:47 pm

yes its my freebox

User avatar
TinCanTech
Forum Team
Posts: 9979
Joined: Fri Jun 03, 2016 1:17 pm

Re: i cannot etablish connection

Post by TinCanTech » Mon Nov 01, 2021 4:55 pm

vpnfreeway wrote:
Fri Oct 15, 2021 1:26 pm
There is a problem in your selection of --ifconfig endpoints [local=192.168.27.66, remote=212.27.38.253]. The local and remote VPN endpoints must exist within the same 255.255.255.252 subnet. This is a limitation of --dev tun when used with the TAP-WIN32 driver. Try 'openvpn --show-valid-subnets' option for more info.
Your server is pushing the wrong data.

vpnfreeway
OpenVpn Newbie
Posts: 4
Joined: Fri Oct 15, 2021 1:23 pm

Re: i cannot etablish connection

Post by vpnfreeway » Fri Nov 12, 2021 10:34 am

ok so what i need to do?

User avatar
TinCanTech
Forum Team
Posts: 9979
Joined: Fri Jun 03, 2016 1:17 pm

Re: i cannot etablish connection

Post by TinCanTech » Fri Nov 12, 2021 1:29 pm

I have absolutely no idea how you managed to configure your server so badly ..

Post Reply