OpenVPN

Post Reply
sinister1977
OpenVpn Newbie
Posts: 4
Joined: Thu Dec 20, 2018 8:44 pm

OpenVPN

Post by sinister1977 » Thu Dec 20, 2018 8:55 pm

Dear Please, I need help
The Google cloud platform and I do not know where to edit the following configuration:
client
nobind
dev tun
redirection-gateway def1 bypass-dhcp
random remote
remote control 35.202.120.xxx 57901

Configuration --> https://1drv.ms/u/s!AseRlurRdeOzgo1M1IkotV-47-SOkw

novaflash
I should be on the dev team.
Posts: 821
Joined: Fri Apr 13, 2012 8:43 pm

Re: OpenVPN

Post by novaflash » Thu Dec 20, 2018 9:27 pm

Why do you have random remote in there?

And redirection-gateway def1 is just the option under VPN Settings > route all client Internet traffic through the VPN server.

The client configuration files are downloaded from the Access Server web interface (not the admin part, just the root URL).

sinister1977
OpenVpn Newbie
Posts: 4
Joined: Thu Dec 20, 2018 8:44 pm

Re: OpenVPN

Post by sinister1977 » Thu Dec 20, 2018 9:38 pm

Thank you. I understand that the configuration file is downloaded from here

https://1drv.ms/u/s!AseRlurRdeOzgo1Nlvr3ZmG1DKJwmw


I need to know what settings to make so that when I download the file it appears with these lines:
https://1drv.ms/u/s!AseRlurRdeOzgo1OYI6TNtggTYpjqQ


excuse english but I am Chilean

Could someone help me with the configuration?

novaflash
I should be on the dev team.
Posts: 821
Joined: Fri Apr 13, 2012 8:43 pm

Re: OpenVPN

Post by novaflash » Thu Dec 20, 2018 9:44 pm

You are mentioning parameters that are intended for the open source version of OpenVPN. However, this is OpenVPN Access Server, the commercial version. I can tell you how to achieve what you want, but it will cause you problems. You should be configuring things via the web interface of the Access Server.

But if you insist, just slap all the config crap you have into the 'client config directives' override field under Advanced VPN in the Admin UI of the Access Server. But if it doesn't work as you expect then you already know why. This is not the way to do it. Good luck.

sinister1977
OpenVpn Newbie
Posts: 4
Joined: Thu Dec 20, 2018 8:44 pm

Re: OpenVPN

Post by sinister1977 » Fri Dec 21, 2018 1:31 am

The VPN does not work for me .. can it help me remotely?

sinister1977
OpenVpn Newbie
Posts: 4
Joined: Thu Dec 20, 2018 8:44 pm

Re: OpenVPN

Post by sinister1977 » Fri Dec 21, 2018 1:45 am

this configuration I need :

client
nobind
dev tun
redirect-gateway def1 bypass-dhcp
remote-random
remote 35.202.120.148 57901 udp
cipher AES-128-CBC
comp-lzo yes
keepalive 10 20
float
auth-user-pass
<key>
-----BEGIN RSA PRIVATE KEY-----
MIIEpQIBAAKCAQEA56XjgNvfx4lj7jpmOrLOTIzWqCOZT2N/Yl0nEh47Epsc4C1f
1UXMH4mQAnpONiLPveVV3xaFIcuTxFHK5ySTEnY2wbjwits66Sw5UQ442Gv9RB82
ModI+FWJh3dfQzx/KqENzAPuCxoi0

novaflash
I should be on the dev team.
Posts: 821
Joined: Fri Apr 13, 2012 8:43 pm

Re: OpenVPN

Post by novaflash » Fri Dec 21, 2018 9:00 am

If you want this to work, just use Access Server as intended and don't try to shove those parameters in like that.

And if you insist on doing this anyways, then good luck, but I won't/can't help you.

Post Reply