Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

OpenVPN (CyberGhostVPN) with Docker on Helios64

Featured Replies

I'm a noob...

 

And paid for cyberghostvpn Account. Now i want to run cgvpn on docker. Now i'm running a virtuell Ubuntu on my WindowsPC. But there's a server with can do it.

 

But how? I tryed to config some openvpn images, but nothing works. 

 

How can i add my ca.crt, client.crt, client.key and openvpn.ovpn and run it?!?

 

Thanks in advance and please: Not to complicated.

 

Greetins

Daniel

Do CG have their own client or do they provide native OpenVPN config files?

I know from LXC that OpenVPN does not work OOB. Some adjustments are needed to allow the container proper access to the TUN device. Maybe Docker needs something similar.

Try a more generic search for docker openvpn client

  • Author

There wasn't a client specially for docker. Config how to for GUI Ubuntu.

This does not answer the question.

 

8 minutes ago, Werner said:

OpenVPN config

Try to get such files from them to use native OpenVPN client

Those files usually look something like this:

 

client
dev tun
proto udp
; Cert
remote-cert-tls server
cipher AES-256-CBC
;Host
resolv-retry infinite
;auth
auth-user-pass filename
auth-nocache
keepalive 10 30

auth SHA384

remote some.server.com 1194

remote-random

persist-key
persist-remote-ip
nobind

sndbuf 0
rcvbuf 0

verb 2

key-direction 1

....

 

 

As this is is not an issue specific to Helios64 I move this to p2p.

I have no idea how or what docker specific is to do. This worked fine for a cli-based installation:
If VPN provider provides .ovpn files, get them, and put them in /etc/openvpn.

1. Create a file (eg. auth.txt) in /etc/openvpn, 1st line containing your username (with an ENTER), 2nd line containig your password (without ENTER).
2. Choose one server's .ovpn and copy it to config.conf in /etc/openvpn.
3. Edit config.conf, find auth-user-pass. Append " auth.txt", and save the modified config.conf.
4. edit /etc/default/openvpn. Change "#AUTOSTART=all" to "AUTOSTART=config"
After this, enable and restart openvpn:
5. systemctl enable openvpn@config.service
6. systemctl daemon-reload
That's all, you might wanna use a "curl ipinfo.io" to verify your new VPN-IP.

Last time I setted up openvpn this way, I recieved such an error message at login after reboot:

"Unable to read database "/var/lib/vnstat/tun0"    No such file or directory   Merge "eth0+tun0" failed"
VPN worked, even without vnstat. But you can simply correct by:
vnstat --create -i tun0

and a reboot.

 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.