A
A
AkZwork2018-04-30 18:31:33
linux
AkZwork, 2018-04-30 18:31:33

Why does not connect to the distributed Internet if VPN is enabled?

Good afternoon.
We have:
Android phone, OpenVPN installed, enabled.
Ubuntu Linux
What I'm doing:
With OpenVPN enabled on the phone (the author said that sharing will go outside the VPN), I try to distribute the Internet on the PC.
I found the network, I'm connecting ... and nothing I
'm trying, but I can't even connect to Wi-Fi.
If you turn off OpenVPN and turn it back on, everything will work (even the phone with vpn and the computer in parallel).
But if you turn it off, then during these 10 seconds the phone remains without VPN protection and the traffic goes directly, which is not good.
Log:

Apr 30 14:24:08 pcc dhclient[4695]: DHCPDISCOVER on wlp2s0 to 255.255.255.255 port 67 interval 13 (xid=0xb7ad8d0a)
Apr 30 14:24:55 pcc NetworkManager[1083]: <info>  [1525087495.5493] dhcp4 (wlp2s0): canceled DHCP transaction, DHCP client pid 4766
Apr 30 14:24:55 pcc NetworkManager[1083]: <info>  [1525087495.5494] dhcp4 (wlp2s0): state changed unknown -> done
Apr 30 14:24:55 pcc NetworkManager[1083]: <info>  [1525087495.5509] manager: NetworkManager state is now DISCONNECTED

Some problems with DHCP. But I don't know what addresses/masks/gateways to set manually in network-manager.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question