New answers tagged

0

You might be interested in trying a Dynamic DNS solution. This is where your system updates a DNS entry every time it starts up, or whenever the WAN IP has changed. This has the benefit of allowing you to use a DNS record instead of a [changing] IP address that can easily be added to your ~/.ssh/config. Please understand that DNS entries have TTL values ...


0

The VPN server is not accepting the strongSwan default proposals, so you need to enter Phase 1 & 2 algorithm proposals in NetworkManager-l2tp's IPsec configuration dialog box. See the package's README file for Phase 1 & 2 Algorithms that Windows uses : https://github.com/nm-l2tp/NetworkManager-l2tp/tree/1.2.10#example-workaround-for-3des-sha1-and-...


0

The problem has somehow solved itself, I think either through logout or through a reboot. So for all out there who ever have a similar problem like this one, perhaps a reboot is sufficient. Detail to be noted: I have defined the connection through menu->preferences->network connections and not through the console based application that opens from the ...


0

worked for me with sudo route add -net 192.168.0.0 gw 192.168.15.3 netmask 255.255.0.0 dev vpn0 and deleted the entry with gateway 0.0.0.0 I also enabled the tick box in IPv4 settings -> Routes -> Use this connection only for resources on its network.


0

https://www.vyprvpn.com/vpn-apps shows no client app for Ubuntu or even Linux, so I'd suggest you talk to your commercial VPN provider about a) what other client you could use b) what version they recommend for 18.10, 19.04, et al., and c) how to configure it for their service.


0

Made sure I had the following packages installed: sudo apt-get install openvpn network-manager-openvpn network-manager-openvpn-gnome Restart Network Manager: sudo service network-manager restart Made sure OpenVPN was running: sudo service openvpn restart I noticed the following errors in syslog grep VPN /var/log/syslog, can also check them look for ...


0

Not sure if remote_host has some special meaning or is an alias for 0.0.0.0. The issue at my side was that there was pseudo-default route pushed from the OpenVPN server: 0.0.0.0/1 routed to vpn_gateway, and that was somehow killing the traffic. So originally I did sudo route del -net 0.0.0.0 netmask 128.0.0.0 # Or - equivalently: sudo ip route del 0.0.0.0/...


0

I faced the same problem and found out when using the PiVPN setup script for Open VPN, the server config contains the line: push "redirect-gateway def1 bypass-dhcp" already. On the IOS client everything is routed through the tunnel automatically (that is what the log says). On the Tunnelblick client you need to add this line in the client.ovpn the line: ...


0

I managed to figure this out. If anyone is wanting to do the same, here is how to get it working. First install SSH pass. This allows you to pass a password to a remote SSH session In the terminal type the following: apt-get install sshpass This guide will walk you through setting up PPTP connections via the terminal. Once you have setup your VPN client ...


0

I have YET to find someone address the proper way to add dns nameservers properly using CLI without editing /etc/resolv.conf which boldly states DO NOT DO THAT. Ok. I think I figured it out. First of all /etc/resolv.conf is just symlink to ../run/systemd/resolve/stub-resolv.conf. And comment that states to not edit it is about ../run/systemd/resolve/stub-...


0

try maybe service network-manager start & then if that works see here how to make it run after resuming from suspend. how to execute a command after resume from suspend?


0

As steeldriver's comment says, you can check the package listing to find the file. This can also be done using the Package Index (https://packages.ubuntu.com). For example: 16.04 (xenial) has the file at /usr/lib/openvpn/openvpn-plugin-auth-pam.so, but 18.04 (bionic) has the file at /usr/lib/x86_64-linux-gnu/openvpn/plugins/openvpn-plugin-auth-pam.so (for ...


1

You can see the problem in the ip route. Number 6 says the route to all 192.168.1.0/24 ip addresses is on device wlp58s0. This takes priority over rule 1 which says the default gateway is tun0 (the VPN). You seem to have diagnosed the problem correctly. Normally VPNs wouldn't use a subnet that's so common because it will be prone to issues like this. If ...


1

You could ask the router. If it supports UPnP, then you can use upnpc from the miniupnpc package Try: upnpc -s or upnpc -m enp1s0 -s to specify explicitly the interface to use. So change enp1s0 to fit your setup. Obviously, don't use the tun0 interface or the interface used by the VPN, if any.


1

Question: What terminal command do I run on computer #1 while the VPN is active on computer #1 to find out the currently assigned dynamic public IPv4 IP address the router is using for computer #2 (which is not using the VPN)? The general answer is that you can't. And with more complex configuration you're not guaranteed that the public IP will belong to ...


1

fugitive's answer works, even on Ubuntu 19.04 but if you don't need to host an internet connection for your other LAN devices, then you can skip a few steps. If all devices are connected to your LAN via wifi or wired, you can just use these steps: Confirm that your PC with the VPN connection can forward packets like a router cat /proc/sys/net/ipv4/...


0

It was easier than I thought. The suspend mode was calling some scripts causing usb ports to close and therefore my dock station who was connected to them and ethernet on it was losing connection. I disabled auto-suspend and also switched to wifi in order to completely avoid connectivity to dock and I found the VPNs working after two hours of inactivity on ...


0

I invested days into trying many ( vpn server + client ) and this is by far the easiest to install and use ... on your remote ubuntu server issue following to install vpn server wget https://git.io/vpnsetup -O vpnsetup.sh && sudo sh vpnsetup.sh at bottom of output from above it will show something similar to Server IP: 111.222.333.444 IPsec PSK: ...


0

In my case the password was changed (expired) and I had to update user password in the NetworkManager


0

I managed to find one solution, next to the rule that I have added before as stated in my question I also added the new rule for the range of "5" IPs for example Chromium didn't want to connect to any host and on Firewall reports it was connecting via address 15.18.9.3 for example, I'm using ufw gui so I added a new rule filter for incoming connections from ...


Top 50 recent answers are included