New answers tagged

0

If you want to access samba only through VPN then Global section in smb.conf should have these lines: interfaces = 127.0.0.0/8 192.168.0.0/24 hosts deny = ALL hosts allow = 127.0.0.1 192.168.0.1/24


0

There seems to be an official fix in xenial-proposed. If you enable pre-release updates and then do: sudo apt install network-manager-openconnect network-manager-openconnect-gnome it will start working. Well, it worked for me at least :)


0

I've done some research and found out I was right. It is indeed as I feared6 after VPN disconnection apllications silently revert to default route. To prevent this, I should use firewall. From Arch Wiki: # Default policies ufw default deny incoming ufw default deny outgoing # Openvpn interface (adjust interface accordingly to your configuration) ufw ...


0

ubuntu man page VPN support Network Manager VPN support is based on a plug-in system. If you need VPN support via network manager you have to install one of the following packages: network-manager-openvpn network-manager-vpnc network-manager-openconnect The network-manager-pptp plugin is installed by default. On GNOME, you also need to install the -...


0

In all but the oddest of cases your vpn does actually use the default route to get the vpn endpoint. VPN is a typically implemented as a tunnel into a private network over external untrusted networks. It makes the traffic invisible. When your VPN connection looses sync the tunnel might struggle for a few packets but ultimately is dropped at your end and ...


0

VPN's are added to network manager. So see network manager at the top right


1

Due to my lack of ability to follow simple instructions it seems, reviewing the setup instructions by the provider, I seemed to have missed a vital step which was to add a script to my .ovpn config to run update-resolv-conf This then fixed it. Apologies for time wasting and many thanks to Thomas for his help and persistance.


0

This appears to be a DNS problem. As was tested by the OP in comments, data can go out to the Internet from over the VPN, so the issue is that it's not getting a DNS server with which to query. We've also confirmed that DNS lookups can be done outbound. So we just need to make sure the system can always reach a DNS server. In your /etc/resolv.conf and ...


2

This usually means you typed the wrong password (either the user password or the group password). The hint is the last line of the debug log: /usr/sbin/vpnc: noninteractive can't reuse password Since you configured the vpn through network manager, the vpnc command is invoked non-interactively and it can't ask for a new password once it detects the one ...


0

It's not Ubuntu 16.04 - even if you had a slightly newer kernel set in 14.04 it would do this. See workaround here which involves turning on nf_conntrack_pptp kernel module.


0

I was finally able to find an answer to my question here: https://calomel.org/firefox_ssh_proxy.html. The tutorial if for firefox but it works well for FTP trafic too. First you need to create SOCKS 5: ssh -C2qTnN -D 2121 user@yourvpsip 2121 - this is selected port number. You can probably use any port but for forts between 0 and 1023 you need to use ...


0

If you are sure that you are connecting to correct public IP address then Ubuntus firewall might be blocking the connection. OpenVPN works for me with following rules: iptables -A INPUT -i eth0 -p udp -m state --state NEW -m udp --dport 1194 -j ACCEPT iptables -A INPUT -i tun+ -j ACCEPT iptables -A OUTPUT -o tun+ -j ACCEPT And ofcourse need to save the ...


0

The route to the remote network should be pushed by the VPN server to which the SSLVPN connection is established. Could you check if the routes to the remote network are added once the SSLVPN connection is established? You can verify this by executing the following command in the terminal- netstat -r


1

It depends on the type of VPN. You may need to consult your VPN provider's documentation, or contact their support services to find out what type of VPN it is. For a "vpnc" VPN: Open a terminal (Alt-Ctrl-T) and type the following command, entering your password when prompted: sudo apt-get install network-manager-vpnc-gnome For an "openvpn" VPN: Open a ...


0

In a terminal do sudo dpkg-reconfigure resolvconf and reboot.


0

Go to https://sslvpn.demo.sonicwall.com/cgi-bin/welcome log in with demo/password Click on NetExtender icon: this will download a tar.gz with the client. sudo ln -s /lib/x86_64-linux-gnu/libssl.so.1.0.0 /usr/lib/libssl.so.6 sudo ln -s /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /usr/lib/libcrypto.so.6 Un-tar the client, make install script executable and ...


0

As my first answer didn't help, maybe it's an entirely different problem: Java just isn't enable in the browser? Double-check by opening the Java ControlPanel. You can open it by visiting the directory in which you installed Java (/opt/java/jre1.8.0_xx or /usr/lib/jre1.8.0_xx are common). Then open ./bin/ControlPanel: cd /opt/java/jre1.8.0_91 ./bin/...


1

There are many websites that provide information on this, here's two that I initially found: http://linuxsurvival.com/ http://psychocats.net/ubuntu/ If there is something specific you want to learn, just look it up. IE, want to know how to setup ssh on your system? Look up (Google) "How to setup SSH on Ubuntu". The first result is a really good resource: ...


0

It is possible to just access the internal resources without internet connection, i think this is actually the usual scenario for using OpenVPN. So if you followed some guide to setup OpenVPN server, there were also some steps that allowed forwarding clients traffic to the internet, you'll need to undo those steps. I think you should start with commenting ...


0

Short answer: You can't. At no point is unencrypted data transmitted on your network interfaces. What you are asking is exactly what VPNs are designed to protect you from.


0

You can add an alias to .bash_profile. You should specify a path to your client.vpn otherwise you might need to be in that folder when you execute vpn. alias vpn="openvpn --config /home/user/openvpn/client.ovpn" You then can create a file that contains your username and password and reference it from your client.ovpn. First thing, create a file called ...


0

You VPN connection works, but your IP won't change. (That's the "V" in VPN : Virtual...) The message states that the VPN Tunnel is open and working, but perhaps your routes are not set correctly so the VPN is not used for the Servers you are using? Usually the VPN Server sends a list of routes to your client which tells your client which servers are in the ...


1

I recently needed to get this working as well. It's quite tricky. The main points: You must install 32-bit Firefox (16.04 ships with the 64-bit version) You must install 32-bit Oracle Java (not OpenJRE) You must manually install the 32-bit Firefox plugin. You cannot use the webupd8 Java installer to install Oracle's Java because it will always match your ...


0

The numerical order of system services is displayed in /etc/rc2.d where higher number means later, you can change thos numbers. Also you could add delay in seconds option into deluged startup script, example sleep 10


0

If the goal is to connect to the internet through VPN and you also have access OpenVPN server side then you might want to check the OpenVPN server conf file. There should be options starting with push "dhcp-option DNS, try changing DNS servers to something else, example OpenDNS, whis are 208.67.222.220 and 208.67.222.222. Also after making changes in server ...


1

You should install OpenVPN along with easy-rsa sudo apt-get install openvpn easy-rsa and copy over the Easy-RSA generation scripts cp -r /usr/share/easy-rsa/ /etc/openvpn


3

You can connect to remote server through proxy by openvpn command line options like this: sudo openvpn --config /path/to/config-file.ovpn --http-proxy proxy_server_addr port Or if proxy uses socks: sudo openvpn --config /path/to/config-file.ovpn --socks-proxy proxy_server_addr port If proxy server requiers authentication, the console prompt you to ...


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? ...



Top 50 recent answers are included