[deleted] Hello and Happy New Year. I use NordVPN and connect to it via cli as "sudo openvpn usxyz.nordvpn.com..ovpn" After I connected to VPN my host, I am losing ability to connect to that host via VNC Of cause, the IP was changed ! Is it possible to change this and still be able to use the original LAN IP to connect via VNC? PS: What is interesting that VNC can't connect to the host with NordVPN started, but remmina can (!?), why ? Thx
TinCanTech chudak12 wrote What is interesting that VNC can't connect to the host with NordVPN started, but remmina can In your .ovpn file try: route "VNC-Client-IP net_gateway"Change VNC-Client-IP to the IP-address of the VNC client.
[deleted] TinCanTech wrote chudak12 wrote What is interesting that VNC can't connect to the host with NordVPN started, but remmina can In your .ovpn file try: route "VNC-Client-IP net_gateway"Change VNC-Client-IP to the IP-address of the VNC client. I tried that with actual IPs and it did not work. added to ovpn file: route 192.168.70.7 xxx.yyy.zzz.1 Tue Jan 5 13:12:37 2021 ERROR: Linux route add command failed: external program exited with error status: 1
TinCanTech chudak12 wrote added to ovpn file: route 192.168.70.7 xxx.yyy.zzz.1 That is not as a wrote it. Anyway, try this: route "VNC-Client-IP 255.255.255.255 net_gateway" net_gateway is an special openvpn variable, just use it as is.
Pippin route 192.168.70.7 255.255.255.255 net_gateway would be correct. Instead try mssfix 1400 in config.
[deleted] mssfix 1400 alone does not work route 192.168.70.7 255.255.255.255 net_gateway - works, but I think some Ineterbet names resolutions maybe broken (trying to reboot) Can that line be generic for more then one IP ? Thx!
[deleted] TinCanTech wrote chudak12 wrote added to ovpn file: route 192.168.70.7 xxx.yyy.zzz.1 That is not as a wrote it. Anyway, try this: route "VNC-Client-IP 255.255.255.255 net_gateway" net_gateway is an special openvpn variable, just use it as is. "VNC-Client-IP" is an actual IP ? Thx!
StichPomelo Undoubtedly beginners need tips, for example if you are going to buy a yacht - say sunseeker here https://2yachts.com/brand/sunseeker a specialized site that will help you choose the best option if you decide to buy a yacht for the first time. Who is interested, come on over.