I have setup Softether VPN server on my OVH VPS with this tutorial. When I'm connecting from my windows machine everything works fine and the internet sees me by my VPN servers IP instead of mine. Now when I do the same in ubuntu, even though softether client shows that it's connected to the server, curl ifconfig.me
returns the IP address of my machine instead of VPN. I've found info that on Linux I have to setup routing manually - and here problem arises. When I try to sudo dhclient myadapter
, it just hangs there. Sometimes it will freeze forcing me to reboot, and sometimes I can kill it.
What I've seen in journalctl is:
can't create /var/lib/dhcp/dhclient.leases: Permission denied
Open a socket for LPF: Operation not permitted
Is there something wrong with my dhclient? Or maybe there is any other way to configure the routing for it? Any suggestions will be appreciated!
I think you might have this problem described in the ubuntu forum. You might want to try the workaround suggested and try again: