New answers tagged

0

What you are essentially trying to do is create a one-armed router (a.k.a. a router on stick). The biggest issue you face is establishing the VPN connection and sharing it. There are a lot of bugs with using Internet Connection Sharing in latest builds of Win10 so that may or may not work for you. As long as you can establish the VPN connection and the PC ...


0

There are several ways to make a VPN based on IPSec – it took a while for this way of using IPSec to become standardized. Windows 10 has a built-in IKEv2 EAP (new standard) client and an IKEv1 PSK + L2TP (Microsoft style) client, but it does not have an IKEv1 Xauth (Cisco-style) client for the method that FritzBox uses. It might be possible to configure ...


0

Changing the OpenVPN server’s firewall is trivial. Instead of just using iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE or iptables -t nat -I POSTROUTING -o eth0 -j SNAT --to <IP ADDRESS>, you’d add another filter: Not destined for the local network, so something like ! -d 192.168.123.0/24: iptables -t nat -A POSTROUTING -s 10.8.0....


0

VPN is just like a tunnel over your internet connection. Whatever you do is transferred with encryption. And when you connect a VPN, all your traffic is routed through the network of VPN (you can run a simple traceroute to figure out comparing to the traffic is which is routed by your original gateway). And when you try to access the local router/gateway ...


1

You can reach local devices by IP because local IP addresses are not sent through the VPN tunnel. You can not reach your local devices by DNS name because your DNS requests are tunneled through VPN. This is pretty much default behavior. Not doing so creates a DNS Leak that can reveal private information despite using a VPN. You didn’t provide any details ...


0

It is fairly easy to achieve this using SSH: Set up an SSH server on the Windows machine: https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse Then route web traffic through this SSH server: https://www.digitalocean.com/community/tutorials/how-to-route-web-traffic-securely-without-a-vpn-using-a-socks-tunnel


0

The WireGuard project has Wintun, which now seems to be the preferred choice if you're looking to build a typical layer-3 VPN (carrying IPv4/IPv6 only). It was originally written for WireGuard, but is now also used by OpenVPN as well. The Wintun README specifically mentions VS 2019 as a build requirement and the source code is all in a small "wintun.c&...


0

end solution add firewall openvpn.exe udp open and in the server config route 0.0.0.0 0.0.0.0 10.8.0.1


0

Can you take a look at this project ? http://www.tinc-vpn.org/download/ , this is a opensource project working on windows .


0

delete this and add a route to the TAP (server side) netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol=icmpv4:8,any dir=in action=allow route -p add 0.0.0.0 mask 0.0.0.0 10.8.0.1 metric 50 if [number of tap device in route print] 5...ff ff ff ff ff ff ......TAP-Windows Adapter V9 route -p add 0.0.0.0 mask 0.0....


0

As @curvy stated, the network-manager-openconnect uses the ip address instead of the hostname. This is a problem with vpn gateways that provide hostname-only certificates. To avoid this problem, you can recompile https://gitlab.gnome.org/GNOME/NetworkManager-openconnect applying this simple patch. diff --git a/src/nm-openconnect-service.c b/src/nm-...


0

As much as cisco does some decent kit, it's expensive. I bought a mini pc with 4x 10/1000 intel nics on board, 32gb ssd & 4gb ram for $160. On this I installed pfsense and stuck it on my network between my pc and main router. I noted how many times it went wrong -I installed pfsense which in 32bit would destroy itself after 6 months but now the 64bit is ...


0

After uninstalling F-Secure, the VPN connection works. It seems that network connections on the guest OS (i.e. from the VM) bypass any software firewalls on the host OS.


1

For a low-budget low-running academical project you may use Microsoft's Azure free account. This trial account will give you 12 months of free services, up to $200 credit, which include Windows Virtual Machines. Hopefully, this includes Windows Server.


1

The Received: header shows the sender in three ways: the HELO or EHLO hostname that the sending host itself provided; the IP address that the receiving host saw; the "reverse DNS" hostname of the IP address that the receiving host saw. For example: Received: from BLIZZARD (192-88-99-1.static.example.com [192.88.99.1]) ... ^^^^^^^^ ...


0

In my case my own computer name and my office machine name was same. I used OpenVPN to connect to my office network and added office machine name and it's static IP in my local machine's host file like: xyz-pc       10.1.1.149 whereas my own machine name is also xyz-pc so when i tried to connect to my office machine it started throwing above error. I tried ...


0

I would suggest going with OpenVPN protocol. TunnelBrick, Vicosity etc are all great tools to connect to a VPN server. If your VPN server doesnt support anything else apart from PPTP, change it. PPTP is dead and weak.


0

There is a decent amount of nuance here. Let me start with your example setup and explain in detail. If you want a summary, you can skip to the end and reference above as needed. for example, say that I'm using VPN and that my internal IP address is 192.168.0.1, which from now on I'll refer to as localhost. First, let's call this IP address "...


0

Well, I found a solution that is working for me. You have to take the problem on the opposite side: Since you can't touch the VPN metric while having it disconnected, you may touch the metric of your internet card. The metric of VPN = Default metric + metric routes, in automode. If default route 0.0.0.0 is lower than real default metric (which depend of ...


0

If your ISP really really wanted to know, they could scan your packets for traffic to well-known DNS servers like 8.8.8.8. The question is why they wanted to pay money (and it costs money to do so, for every customer) to find out. So what's in for your ISP if it spies on you? And they could equally well deep-inspect DNS traffic, and figure out if you ask ...


0

I was with a similar problem and installed OpenConnect to access the Cisco vpn as it uses the same protocol, it worked like a charm, now i can use the VPN and still access all the internet. Look at this answer, it was usefull to me:


0

Ok, i found solution. Instead of using VBoxManage modifyvm "VM name" --natdnshostresolver1 off and adding 8.8.8.8 dns. I did VBoxManage modifyvm "VM name" --natdnshostresolver1 on, lost access to my VPN, and manually added my vpn dns server as additional via GUI. Now looks like it works.


0

OpenVPN should have no problem punching through this kind of double nat. The protocol itself is flexible, and the default mode of 1194 UDP should work fine, but even if for some reason it doesn't you can set it up to work over TCP which will work. From a port POV, OpenVPN is very easy to deal with as it does not require related ports or note esoteric types ...


1

DNS and MTU are not valid options. You probably meant to set these options in a different file. These are general network settings and not wireguard specific. You can refer to the documentation for valid wireguard options, their effects, and how to format them. There are also examples showing how to format the keys and ips in the docs as well, just in case ...


1

If you are facing this problem on Ubuntu 18.04, use the Network manager instead of Cisco AnyConnect: sudo apt-get install network-manager-openvpn sudo apt-get install network-manager-vpnc sudo apt-get install network-manager-openconnect sudo apt-get install network-manager-openvpn-gnome sudo apt-get install network-manager-vpnc-gnome sudo apt-get install ...


0

A common issue with routed VPNs is MTU. Your tun0 interface has a lower MTU (below the normal 1500) due to VPN encapsulation, and locally initiated connections know this and adjust the advertised TCP MSS (maximum segment size) accordingly. But software on your other LAN hosts doesn't know this (those hosts only know their own Ethernet interfaces) and still ...


Top 50 recent answers are included