You can use Ubuntu configuration files from https://www.cactusvpn.com/downloads/ to setup OpenVPN.
How to setup OpenVPN client for CactusVPN:
- Update configuration files.
- Start OpenVPN as
/etc/init.d/openvpn start
or make it start at boot as/etc/init.d/openvpn enable
.
You can also start OpenVPN client manually as follows:
$ openvpn --cd /etc/openvpn --config /etc/openvpn/cactusvpn.ovpn
For some reason kmod-tun
is not loaded on startup, thus you will have to do this manually before running openvpn
:
$ opkg files kmod-tun
/etc/modules.d/30-tun
/lib/modules/3.14.28/tun.ko
$ insmod /lib/modules/3.14.28/tun.ko
or add this to /etc/rc.local
.
UPDATE: sometimes you need to route some traffic across VPN:
$ ip route add <source> via <gateway>
Logs?