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 startor 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.ovpnFor 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.koor add this to /etc/rc.local.
UPDATE: sometimes you need to route some traffic across VPN:
$ ip route add <source> via <gateway>
This dont work.
No effect.