New answers tagged

0

OpenVPN has a build-in mechanism to automatically detect dead links and reconnect. In Network Manager go to "Edit Connections", select your VPN connection and choose "Edit". In the "VPN" tab click on "Advanced..." and go to the "General" Tab. There you have two relevant options: "Specify ping interval" tell OpenVPN how frequently to check if the link is ...


0

I used the Ubuntu GUI to created a VPN connection to a foreign server This is the wrong way of doing it. A VPS should be managed through SSH and configured properly. Network Manager is not suitable for this because it does not allow for split tunneling. It's an all or nothing approach. How to fix the VPN How could I access my server via FTP then? ...


0

Part one yes it is possible. Not really, no it will not secure your information using public wifi unless your vpn is using an internet connection that is different from the public wifi. It sounds like you would be connecting to public wifi to provide internet access to your vpn and this will not make your communications secure. You would have unencrypted ...


0

I use OpenConnect, once connected I open Remmina for the GUI connection.


0

If this is a cisco vpn you need vpnc. Simply installing vpnc gives you the client, which can be connected using terminal. If you want to integrate it with network manager you need the network-manager-vpnc package. This link explains the installation and set up of vpnc CISCO VPN configuration steps


0

To check if a port is already used, you can use lsof: ↳ lsof -i :1723 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME netcat 31521 mikael 3u IPv4 374307 0t0 UDP *:1723 In the above example, I just started nc to listen for UDP connections on port 1723. You can also get information about a process listening on a port with netstat: ...


0

I had a similar problem, messed around for hours and hours until I found Pritunl (https://github.com/pritunl/pritunl), it uses OpenVPN but takes care of all the iptables headache that is needed for the routing you want and gives you a nice web GUI to manage clients, etc. Not the answer you might be looking for, but for me it was a pragmatic solution, ...


1

You can write-update a password to a seperate file. This works for me: echo "vpn.secrets.password:MY_PASSWORD" > /my/vpn/password nmcli con up uuid MY_UUID passwd-file /my/vpn/password


1

I just switched to Ubuntu so I can't double-check, but was use KDE before. I'm think the package you're looking to install is network-manager-l2tp and then use the network manager GUI to create a new VPN connection. At least that's what I remember doing.


2

There seems to be a known issue about this. Error message when starting network manager from Terminal: $ nm-connection-editor ** Message: vpn: (strongswan,/etc/NetworkManager/VPN/nm-strongswan-service.name) cannot load legacy-only plugin


1

VPN Autoconnect states that "It seems that NetworkManager fails to obtain the user's VPN password from gnome-keyring-daemon." it also states a possible workaround.


0

Regarding possible server monitoring solutions Nagios - https://www.nagios.org/ Incinga - https://www.icinga.org/ Munin - http://munin-monitoring.org/ Spiceworks - http://www.spiceworks.com/ Zabbix - http://www.zabbix.com/ Cacti - http://www.cacti.net/ Monit - https://mmonit.com/monit/ I do use nagios a lot, it needs some time to get started but is worth ...


1

You do it the same way you block websites for users on your company network: Run a proxy server and force everyone's web traffic through it. Source: http://serverfault.com/questions/518374/website-filtering-for-openvpn-clients


2

Try something like this You wish to change ufw rules based on interface status. Nice place for this kind of action is in /etc/network/if-down.d/ and /etc/network/if-up.d/ You can in this folder put some script and make action. For example put this script in /etc/network/if-down.d/ to change ufw rules every time when tun0go down. Make script called ...


0

It's for Security purposes you will be not able to see anything when you are typing your password, so that others can't guess your password by looking at number of characters or so... You just type your Password and type enter. sudo is command you use to give it another command a higher level privileges,Incase of windows you 'run it as Administrator'. You ...


0

I was looking for the exact same setup. I realize this is a late response but perhaps someone else can benefit from it. Note: My VPN connection is of type PPP and shows up as the interface ppp0 under ifconfig. TV: Configure the TV's network settings to use your machine's IP as default gateway. Ubuntu: Setup IP forwarding and NAT as follows on your ...


1

Here is some useful info for vagrant boxes using host vpn. Basically you need to set natdnshostresolver1 option Note that this will NOT work when using the Vagrant's public_network setting though. config.vm.provider :virtualbox do |vb| # ---- other options.... vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] end ...


0

this is due to Dynamic host so i reserved single ipaddress


0

Install network-manager-openconnect and network-manager-openconnect-gnome packages with this command sudo apt-get install network-manager-openconnect network-manager-openconnect-gnome


0

The best solution I've found is to open a terminal and do the following: sudo gedit /etc/resolvconf/resolv.conf.d/head in the file that opens up, add the following: nameserver 208.67.222.222 nameserver 208.67.220.220 save the file and run the following command in a terminal: sudo resolvconf -u Try connecting to your OpenVPN server now. You should be ...


0

this should work on ubuntu 16.04: nmcli --ask con up id MyVPN to get this working over ssh i also had to add rules in /etc/polkit-1/localauthority/90-mandatory.d one called 90-ssh-network-control.pkla with content: [Network Manager - Control network nmcli] Identity=unix-user:yourusername Action=org.freedesktop.NetworkManager.network-control ...


2

Looking at your tshark capture and your routing table. I supposed that your vpn network is using the same subnet as the docker0 interface. This will shutdown the docker0 interface: sudo ifdown docker0 But the problem will come back after a reboot. To properly fix it you should remove docker, or change subnet settings of docker, or change your vpn ...



Top 50 recent answers are included