Alfons sent me an email explaining how he got openvpn working with the latest EasyOS:
Code: Select all
Preparation:
1. Installing the 5 packages from folder deb
2. cp Server1-TCP443.ovpn /etc/openvpn/
3. ln -s /etc/openvpn/Server1-TCP443.ovpn /etc/openvpn/vpnconfig
Start:
1. modprobe tun
2. openvpn --daemon --config /etc/openvpn/vpnconfig
username: freevpn.me -> https://freevpn.me/accounts/
password: XXXXXXX
Remarks: openvpn works with main desktop (container does not work)
Check:
1. ifconfig tun0
2. https://www.expressvpn.com/what-is-my-ip
Stop:
1. killall openvpn
He did it by installing some Debian DEBs.
OpenEmbedded has a recipe for compiling openvpn, so I have done that and it is now available for download.
You can click on the "pkg" desktop icon, then "Configure" then "Update" the database, then search for "openvpn".
Or, just grab it directly (416KB):
https://distro.ibiblio.org/easyos/amd64 ... -64.tar.xz
All dependencies are already in EasyOS 5.0.
Alfons's instructions will need to be modified, as the openvpn package has /etc/init.d/openvpn, which will run at startup, and does stuff like Start: steps 1 and 2 in Alfons's instructions.
I replaced the password with "XXXXXXX"
Regarding Alfons's Preparation: steps 1, 2 and 3, the package has /etc/openvpn/samples
I don't know where he got that "Server1-TCP443.ovpn" from, it isn't in the DEB.
I have added openvpn to the package-list, so it will be builtin for the next release of EasyOS.