Starting my first use

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
corentin_dmnn
OpenVpn Newbie
Posts: 1
Joined: Tue Dec 26, 2023 8:54 am

Starting my first use

Post by corentin_dmnn » Tue Dec 26, 2023 10:20 am

Hi everyone,
I'm very new on this kind of coding, and to be honest, I almost dont know anything about it, and I dont even know if I'm posting the topic in the right section... So excuse me :lol:
So, I want tu use a VPN but I dont manage to use, I have some errors, I tried to find solutions on forums but most of the time, either it dosnt work, either I dont understand one word of what people say :D

So here is my configuration code :

Code: Select all

client
remote 87-1-eg.cg-dialup.net 443
dev tun 
proto udp
auth-user-pass


resolv-retry infinite 
redirect-gateway def1
persist-key
persist-tun
nobind
cipher AES-256-CBC
ncp-disable
auth SHA256
ping 5
ping-exit 60
ping-timer-rem
explicit-exit-notify 2
script-security 2
remote-cert-tls server
route-delay 5
verb 4


ca ca.crt

cert client.crt

key client.key



route 185.34.106.0 255.255.255.0
route-metric 50
route-nopull
and there are different error lines in the status code, I noted all of them here :

Code: Select all

(line 130) Tue Dec 26 10:07:18 2023 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1569', remote='link-mtu 1553'
(line131) Tue Dec 26 10:07:18 2023 WARNING: 'keysize' is used inconsistently, local='keysize 256', remote='keysize 128'
(line 135) Tue Dec 26 10:07:18 2023 Options error: option 'redirect-gateway' cannot be used in this context ([PUSH-OPTIONS])
(line 136) Tue Dec 26 10:07:18 2023 Options error: option 'route-ipv6' cannot be used in this context ([PUSH-OPTIONS])
(line 137) Tue Dec 26 10:07:18 2023 Options error: option 'dhcp-option' cannot be used in this context ([PUSH-OPTIONS])
(line 208) Tue Dec 26 10:07:53 2023 Warning: route gateway is not reachable on any active network adapters: 10.3.4.1
(line 211) Tue Dec 26 10:07:53 2023 Warning: route gateway is not reachable on any active network adapters: 10.3.4.1
(line 215) Tue Dec 26 10:07:53 2023 Warning: route gateway is not reachable on any active network adapters: 10.3.4.1
(line 217) Tue Dec 26 10:07:53 2023 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to preve vvf  v bt this
and the two last lines of the statu are :

Code: Select all

(line 321) Tue Dec 26 10:07:53 2023 Initialization Sequence Completed With Errors ( see http://openvpn.net/faq.html#dhcpclientserv )
(line 322) Tue Dec 26 10:07:53 2023 MANAGEMENT: >STATE:1703581673,CONNECTED,ERROR,10.3.4.162,188.214.122.69,443,,
Thank you so much to help me, and tell me if you need something else, maybe the log script? Maybe the entire status code? I dont know, please help me, apreciate it!

Have a beautiful day everyone

Post Reply