Host: Win10 + VPN client
Guest: Ubuntu
Network: NAT or Config NAT8
on ubuntu, at the beginning, vpn is working fine
after a while, random time, ubuntu lost vpn, directly access network (like host does not run vpn)
Workaround solution: change nat to bridge, then switch back, vpn on ubuntu is back.
BTW, I remapping port 22 to another port on host. But I do not think this is the issue.
I have setting: install a new ubuntu, but no such issue.
Do you know whether it is a vm bug?