I'm trying to manually add a route to the VPN connection. The reason is that when i connect to the VPN, i can't navigate the internet. I've tried to uncheck the "Use default gateway on remote network" by going in properties of the vpn connection, then tcp/ipv4 - advanced. The result is that now i can surf the internet but can't communicate with other clients connected to the VPN (i've tried by using the ping command in both cases). i've read that i should use the route add command to make it work. let's assume that the destination IP of the VPN is 18.104.22.168, how should i write the command? i tried
route -p add 22.214.171.124 mask 255.255.255.0 192.168.0.11
where 126.96.36.199 is the public ip of the pc on which the VPN server is hosted, 255.255.255.0 is it's subnet, and 192.168.0.11 is the static ip that my pc (that should connect to the VPN) uses. Of course, this solution doesn't work. What am i doing wrong?