Page 1 of 1

I've got client.ovpn but router use own setup

Posted: Thu Jul 14, 2022 9:06 am
by brokenby2703
Hi everyone.

I'm quite a newbie here as I always worked with .ovpn client files.

I'm playing around with a router which doesn't allow to upload .ovpn config file but need to be setup manually.

My knowledge is limited. I tried for 3 days to learn and move around all possible config but I ca't "picking a spider out of the hole".

Apart from the basic setup like TUN/TAP, UDP/TCP, Server IP/Port, the router asks the following:

AUTHORIZATION : TLS / KEY / CUSTOM
HMAC AUTHORIZATION (for TLS only) : DISABLE / INCOMING / OUTGOING / BIDIRECTIONAL
ACCEPT DNS CONFIGURATION : DISABLE / RELAXED / EXCLUSIVE / STRICT
ENCRYPION CYPHER

CERTIFICATE AUTHORITY / CLIENT CERTIFICATE / CLIENT KEY I've got from the .opvn file.

The OPENVPN server is installed on a cloud hosting using this script:
https://www.cyberciti.biz/faq/debian-11 ... 5-minutes/
Everything is working fine when I use Windows OpenVPN connect or Mac or my Android phone
But I can't figure out how to extract the required informations to fill up the router setup.
I have asked the router manufacture but silence...

Here below is the client.ovpn
The client is passwordless.

I kindly ask if someone can guide me the right direction and indicate what I'm mistaking.
Thanks in advance.
Dado.





client
dev tun
proto udp
remote 136.***.***.***3 1194
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
tls-version-min 1.2
cipher AES-256-CBC
auth SHA256
auth-nocache
verb 3


CONFIDENTIAL INFORMATION REMOVED by moderation.

Re: I've got client.ovpn but router use own setup

Posted: Thu Jul 14, 2022 12:15 pm
by TinCanTech
You have posted your private keys publicly,
you must now consider them compromised and not use them ever again.

Re: I've got client.ovpn but router use own setup

Posted: Thu Jul 14, 2022 12:16 pm
by TinCanTech
To determine what the problem is use --verb 4 in your server config and read your server log.

Re: I've got client.ovpn but router use own setup

Posted: Thu Jul 14, 2022 12:26 pm
by brokenby2703
Hi

Didnt I placed the ***** middle of sensitive parts of .ovpn?
Anyway the server was destroyed before post.

I will do the test with -verb4 and i will come back.

Thanks
Dado