Tag Info

New answers tagged

0

I managed the solution, I did not have to install neither vpnc nor openvpn nor pptp. I had to install openconnect. Then, the process is similar to others, add the VPN in the connection editor but selecting openconnect instead of the other ones. If I do this, I am only asked for gateway, username and password, so the data I was given is enough.


0

You can consult our setup guides for Linux from SumoVPN https://www.sumovpn.com/guides/ubuntu/openvpn.html


1

If your main purpose of setting up the VPN server is to access website, So traffic has to be forwarded out of the VPN server’s public network interface.Thus, kindly enable port forwarding by editing the sysctl.conf file. I assume “net.ipv4.ip_forward” is commented in the /etc/sysctl.conf file: nano /etc/sysctl.conf Add or find and comment out the ...


2

Iptables will do this sudo iptables -A OUTPUT -o tun0 -j ACCEPT sudo iptables -A OUTPUT -d your_vpn_gateway_ip -j ACCEPT sudo iptables -A OUTPUT -d 127.0.0.0/8 -j ACCEPT sudo iptables -A OUTPUT -j REJECT Assuming all output is going to the VPN. Note: Depending on your network, you traffic can be monitored via various tools such as wireshark, sort, etc.


0

Assuming that you run UFW, do the following: sudo ufw enable sudo ufw allow from YOURIP to any port 443 sudo ufw deny 443 Please make sure that you don't lock yourself out of the machine while doing this. As your admin interface is running on a different port, you might need to replace the 443 above with your port number.


0

In Kali Linux I tried enabling ONLY mschapv2 authentication, because this was on the router I used only 128 bit encryption and I disabled the Deflate data. I had disconnections 1 sec after the connection. Now I've had it for hours and no problem.


0

For some reason, changing the NAT mode used to 'force-natt' allows the connection to proceed normally. I changed the relevant line in the config file: NAT Traversal Mode force-natt Why this does work, however, I do not know. Therefore, I do not consider this to be the complete answer.


0

After a hard looking for the answer it seems I've solved this, maybe partially, but at least very simply: I use Xubuntu 14.04 and OpenVPN package from main source. In Settings > System > Network, I replaced preinstalled DNS-address 127.0.1.1 with Google's 8.8.8.8, and now I can see all traffic going through the VPN-server. In Wireshark's table such string ...


3

You can check your Dnsmasq configuration here: $ sudo nano /etc/dnsmasq.conf I think your best answer you can find here: Special Cases & UFW Maybe most best is it: $ sudo ufw allow bootps Also read above very important part about Local DNS Cache. Enjoy Dnsmasq!


0

You can ping your VPN gateway. So, if your gateway on the VPN is say 172.20.1.1, the exit status of ping -c 1 -W 10 172.20.1.1 will tell you if you're connected. You can also utilize third party software like VPNCheck. It helps you to feel safe if your VPN connection breaks, this is done by shutting down your main network connection or programs of your ...


2

You need to accomplish several points: 1. Choose your technology Choose which protocols will you use to implement the VPN. The main options are: PPTP, L2TP/IPsec and OpenVPN. PPTP Point-to-Point Tunneling Protocol has been around for more than 15 years (Windows 95 already had a client!). It's kind of a PPP-remake by Microsoft. Authentication and ...


2

You can use OpenVPN software to create a VPN server. On Ubuntu, sudo apt-get install openvpn. You have to create a configuration file in /etc/openvpn for the server : port 1194 proto tcp dev tun pkcs12 openvpn.p12 dh dh1024.pem server 192.168.10.0 255.255.255.0 ifconfig-pool-persist ipp.txt keepalive 10 120 comp-lzo persist-key persist-tun Just name ...


0

VPN server should push a route to local subnet through VPN you can do netstat -rn on your working windows box to confirm that it gets the route in there. So need to troubleshoot why VPN doesn't push it out. You can also add a route yourself once you're connected to the VPN route add -net NETWORK netmask NETMASK gw VPNGATEWAY where NETWORK/NETMASK is for ...


-2

infact that with my vpn connection (ubuntu 10.04) i still could not connect to internet though i have already set "Use the connections only for the resources on its network" and "ignore auto obtain route...". This because network manager vpn alway add route 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 ppp0 when it connect. So i ...


0

Yes, there is a Sonicwall NetExtender client that is available for download from sonicwalls website. I use it all the time. Once installed just type netExtender (case sensitive) from the command line and you will be prompted for your creds.


0

Try checking if your /etc/resolv.conf have symbolic link to /run/resolvconf/resolv.conf . It solved the problem for me. To check if it has symbolic link: ls -la /etc/resolv.conf Sample output, if it has symbolic link: lrwxrwxrwx 1 root root 27 Jun 30 22:22 resolv.conf -> /run/resolvconf/resolv.conf Otherwise, delete or backup existing ...


0

Your VPN-CLient might set the default route to the VPN-connection. In Windows you can address this issue by unchecking "Use remote network as default gateway" in "Advanced Settings for IPv4" and in Linux the following command will add the default gateway: sudo route add default gw xxx.xxx.xxx.xxx dev ethx You'll have to exchange the x's with the ...


0

Try install OpenVPN and configure with Network Manager: sudo apt-get install openvpn sudo apt-get install --reinstall network-manager network-manager-gnome network-manager-openvpn network-manager-openvpn-gnome sudo service network-manager restart Then, open the Network Manager and add a new VPN Connection. See this links: ...


0

I would suggest that a straight, uncomplicated answer is that if you can see your companies internal servers and resources, you are connected to their VPN.


0

There are two device types supported by OpenVPN: tun and tap. Tun devices receive raw IP packets and give them to a user space program. In the case of OpenVPN this program encrypts those packets and sends them on to the other end of the tunnel where they get decrypted and sent back to the tun device on that side. In other words a tun device behaves like a ...



Top 50 recent answers are included