Page 1 of 1

OpenVPN

Posted: Thu Dec 20, 2018 8:55 pm
by sinister1977
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

Re: OpenVPN

Posted: Thu Dec 20, 2018 9:27 pm
by novaflash
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).

Re: OpenVPN

Posted: Thu Dec 20, 2018 9:38 pm
by sinister1977
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?

Re: OpenVPN

Posted: Thu Dec 20, 2018 9:44 pm
by novaflash
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.

Re: OpenVPN

Posted: Fri Dec 21, 2018 1:31 am
by sinister1977
The VPN does not work for me .. can it help me remotely?

Re: OpenVPN

Posted: Fri Dec 21, 2018 1:45 am
by sinister1977
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

Re: OpenVPN

Posted: Fri Dec 21, 2018 9:00 am
by novaflash
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.