Newbie needs hand-holding
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 10
- Joined: Fri Dec 14, 2018 3:57 pm
Newbie needs hand-holding
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
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
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Newbie needs hand-holding
In your .ovpn file try:
Code: Select all
route "VNC-Client-IP net_gateway"
-
- OpenVpn Newbie
- Posts: 10
- Joined: Fri Dec 14, 2018 3:57 pm
Re: Newbie needs hand-holding
I tried that with actual IPs and it did not work.TinCanTech wrote: ↑Tue Jan 05, 2021 7:45 pmIn your .ovpn file try:Change VNC-Client-IP to the IP-address of the VNC client.Code: Select all
route "VNC-Client-IP net_gateway"
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
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Newbie needs hand-holding
That is not as a wrote it.
Anyway, try this:
Code: Select all
route "VNC-Client-IP 255.255.255.255 net_gateway"
- Pippin
- Forum Team
- Posts: 1201
- Joined: Wed Jul 01, 2015 8:03 am
- Location: irc://irc.libera.chat:6697/openvpn
Re: Newbie needs hand-holding
Code: Select all
route 192.168.70.7 255.255.255.255 net_gateway
Instead try
Code: Select all
mssfix 1400
I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
Halton Arp
Halton Arp
-
- OpenVpn Newbie
- Posts: 10
- Joined: Fri Dec 14, 2018 3:57 pm
Re: Newbie needs hand-holding
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!
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!
-
- OpenVpn Newbie
- Posts: 10
- Joined: Fri Dec 14, 2018 3:57 pm
Re: Newbie needs hand-holding
"VNC-Client-IP" is an actual IP ?TinCanTech wrote: ↑Tue Jan 05, 2021 9:38 pmThat is not as a wrote it.
Anyway, try this:net_gateway is an special openvpn variable, just use it as is.Code: Select all
route "VNC-Client-IP 255.255.255.255 net_gateway"
Thx!
-
- OpenVpn Newbie
- Posts: 10
- Joined: Fri Dec 14, 2018 3:57 pm
Re: Newbie needs hand-holding
that seemed to have worked thx a million @Pippin @TinCanTech !
-
- OpenVpn Newbie
- Posts: 1
- Joined: Sat Apr 10, 2021 9:29 am
Re: Newbie needs hand-holding
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.