I am going to use the softether vpn client on Ubuntu 18.04. The vpn connection has been successfully connected. However, the web page will not load. So I added a route table.

sudo ip route via

So I got the path table below.

Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface         UG        0 0          0 ens33     U         0 0          0 ens33 UGH       0 0          0 ens33   U         0 0          0 ens33

And to change the dhclient, I entered the following command.

sudo kills dhclient.
sudo dhclient vpn_vpn

But I got a error message.

kill: Failed to parse argument. dhclient

So I entered another command.

sudo dhclient -r ens33

Then the vpn session was destroyed. How can I solve this problem? I have been searching for solutions for a long time with Internet search. But I could not find a solution. (Note that I have successfully connected to CentOS 7 as above.)

  • isn't it kill not kills? – tatsu Jun 12 at 8:41
  • Thanks. I found solution. – Nabi Jun 12 at 11:20

you should be typing

sudo kill dhclient

not "sudo kills dhclient."

kills is not a real command.

Also it's :

sudo ip route del default via
sudo dhclient vpn_vpn
  • sudo ip route del default via And sudo type sudo dhclient vpn_vpn.So it works fine. – Nabi Jun 13 at 3:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.