
Openvpn is the answer.But you will need to connect to a free or paid vpn server.So, how one can have a full-fledged VPN client on gentoo?
Code: Select all
openvpn --config /path/to/*.ovpn

Code: Select all
openvpn --config /path/to/*.ovpnCode: Select all
auth-user-pass ~/vpn-login.conf
Code: Select all
cat ~/vpn-login.conf
some-username
some-password
How exactly?but in this case the command above crashes
Code: Select all
ls -l /dev/tun

Code: Select all
echo '#!/bin/bash' > /etc/local.d/openvpn.start
echo "openvpn --config /path/to/*.ovpn" >> /etc/local.d/openvpn.start
chmod +x /etc/local.d/openvpn.start
rc-update add local default
And how is adding it manually to local better than enabling a service via an already provided script?This way you dont even need to enable openvpn service.
The OP apparently needs the client aspect of openvpn.And how is adding it manually to local better than enabling a service via an already provided script?