Hot answers tagged

81

I had the exact same problem, and saw it through to resolution, so I'm happy to explain the problem and solution in detail. Without Involving a VPN It is important to understand the configuration that is required in order to meet your requirements without involving a VPN. Also, this information assumes that no software firewall is interfering, neither on ...


71

I have fixed this problem permanently by manually setting the metric of my LAN connection to be higher (15) than the one windows assigns to my VPN (11). This can be done two ways: Through the GUI: Network connections, Properties, TCP/IP v4 Properties, Advanced, Set Metric to 15; Command line: netsh int ip set interface interface="LAN CONNECTION NAME" ...


61

You can also, as of at least Lion1, use the scutil command. For example, if I have a VPN service named "Foo", I could connect via: $ scutil --nc start Foo I can optionally specify a user, password, and secret using flags of the same names: $ scutil --nc start Foo --user bar --password baz --secret quux The service can be disconnected via: $ scutil --nc ...


53

Assuming /opt/cisco/anyconnect/bin/vpnagentd is running as it automatically should be: To connect: printf 'USERNAME\nPASSWORD\ny' | /opt/cisco/anyconnect/bin/vpn -s connect HOST Replace USERNAME, PASSWORD, and HOST. The \ny at the end is to accept the login banner - this is specific to my host. Note the single quotes ' instead of double quotes " - this ...


52

It is possible to accomplish this, at least on Linux (and I'm thinking on BSD and OS X as well). You can do so by: Create an exra user for all VPN traffic. Create an extra routing table with 1 default route via the VPN. Configure Netfilter through Iptables to use the other routing table for all traffic originating from a specific User ID. Run the ...


50

Open Device Manager Find Network Adapters Uninstall WAN Miniport (IP), WAN Miniport(IPv6) and WAN Miniport (PPTP). Click Action > Scan for hardware changes The adapters you just uninstalled should come back Try connecting again


43

To stop it from starting automatically, edit /Library/LaunchAgents/com.checkpoint.eps.gui.plist and change: <key>RunAtLoad</key> <true/> To: <key>RunAtLoad</key> <false/> Then to start it when you need it, look in the Applications folder, it’s called, “Endpoint Security VPN.”


42

when I am connected via VPN, can the client monitor what I am doing on my machine It depends on what they actually installed, and on how the VPN client is configured. A normal VPN client doesn't transfer information about what you're doing in general – the server doesn't know that you're editing a file, and it doesn't know which file you're editing. But ...


41

Found this solution here. Open Task Scheduler (search Task Scheduler) Click Create Task in the Actions panel on the right General Tab Provide a logical name for the task like Auto VPN Switch the running task mode to Run whether user is logged on or not Enable the Run with highest privileges option Change the Configure for: drop-down to Windows 10 Triggers ...


38

Here are the steps to resolve the problem: Press Win + R Type: services.msc and press Enter Find Internet Connection Sharing (ICS) Stop the service Right-click and open the service's Properties Change the Startup type: to Disabled Reboot the computer Install Cisco AnyConnect VPN


38

You can freely use any Private Network Address within the following reserved ranges: Private Address Space The Internet Assigned Numbers Authority (IANA) has reserved the following three blocks of the IP address space for private internets: 10.0.0.0 - 10.255.255.255 (10/8 prefix) 172.16.0.0 - 172.31.255.255 (172.16/12 prefix) ...


38

Open Windows Device Manager Expand Network adapters Right click and Uninstall the following WAN Miniport devices WAN Miniport (IP) WAN Miniport (IPv6) WAN Miniport (PPTP) Click the root computer element at the very top of Device Manager Click Scan for hardware changes button The WAN Miniport devices will be re-installed Attempt to create or connect to ...


37

Firstly, what is the purpose of me being assigned one of each type? Ideally, we should be moving towards greater IPv6 rollout, due to IPv4 exhaustion. However, a lot of servers still don't support IPv6 - there are many workarounds, none particularly great, but they generally involve tunneling through an intermediate server that can translate between the two....


36

There are a few possibilities - unfortunately, the number of hops is irrelevant. The first is compression - if the data you were downloading is uncompressed, and your VPN offers compression then this could explain it - however most files transferred are likely to be compressed, so this is not as likely as it would seem at first blush. The second and third ...


34

Found the answer on a Google Groups forum: • Launch /Applications/Utilities/Keychain Access • Select "System" from the Keychains menu in the upper left • Select "Certificates" from the Category menu in the lower left • Find the entry that corelates to your computer's name in the list on the right, and click on the disclosure triangle. • ...


34

This is expected as you are capturing the traffic before it enters the VPN tunnel i.e. before it is encrypted.


27

You can use this powershell command to enable/disable default gateway on VPN: Set-VpnConnection -Name "myVPN" -SplitTunneling $True


26

Ubuntu does magic stuff with DNS, but fortunately OpenVPN provides a way to deal with that. If you've installed openvpn from the Ubuntu repositories, you'll have a script in /etc/openvpn/update-resolv-conf to tell Ubuntu what DNS it should use for your vpn connection. To use it, add the following lines to your openvpn configuration file: script-security 2 ...


24

Use Add-VpnConnectionRoute cmdlet in Windows 8+. Add-VpnConnectionRoute -ConnectionName 'My VPN Connection' -DestinationPrefix 192.168.123.0/24


24

For anyone else having issues, I was finally able to resolve the matter after making an edit in the registry and then rebooting. Thanks to the guide posted here at Github. Run the following from an elevated command prompt: REG ADD HKLM\SYSTEM\CurrentControlSet\Services\PolicyAgent /v AssumeUDPEncapsulationContextOnSendRule /t REG_DWORD /d 0x2 /f Also make ...


21

Got this problem after migrating from Windows 8 to Windows 8.1. It was due to altered miniports which had to be reinstalled. Here is how I managed to do so: Locate broken miniports [yellow icon]: Device Manager -> View -> Show hidden devices. I had for example 3 bad miniports: WAN Miniport (IP), WAN Miniport (IPv6) and WAN Miniport (Network Monitor). ...


21

To resolve this issue on Windows 7: Click the Windows Start button. Click on Control Panel. Set View by: to Category. Click on View network status and tasks under Network and Internet. Click on Change adapter settings. Look for Shared in the Status column in the Network Connections window and right-click that device (e.g. Ethernet adapter, WiFi adapter) and ...


21

Your company VPN will NOT encrypt data from your computer to the website you want to register yourself, only the data from your computer to your company's VPN-server. HTTPS (if used correctly) makes sure data from your machine to the website is safe and that you are not the victim of a man-in-the-middle attack. So. Is it safe? "Maybe" (but has nothing to ...


21

I had the same issue you might need to find how to do what you need in powershell. For example I used this to change the use default gateway setting: Set-VpnConnection "VPN Name" -SplitTunneling $True


20

By default, the NAB adapter simply works for me, without Cisco AnyConnect running. But DNS lookup failed when Cisco AnyConnect is running, this is due to a critical bug in Ubuntu 12.10+, "bug 1048783: network name lookups broken in NAT network adaptors". See more details at, https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1048783 To ...


20

1) You may visit any site that shows you the (public) IP address your request comes from, a common example being http://checkip.dyndns.org/ Edit from 2020: Some more information can be obtained by going to https://ipinfo.io/ - that can give you a hint on which connection is being used - if you see the name of your private ISP there, or the name of your ...


19

We configure the VM with two network cards, one local to talk to the host, the other to talk to the internet. Then we force the host to use the guest as its router, erasing the old gateway. 1) Configure your VM to start with 2 network adapters, one for bridged access, the other one for Host-only connection. Configure the Host-only connection to have a ...


19

What you are asking for does not exist. This is why you are dissatisfied with the answers you found (some of them, possibly, being mine): all of them have suggested workarounds, not a genuine solution, either simple or complex. Let me explain. Routing in all OSes is determined by destination address: you may very well have several routes, but the choice ...


18

Current user: %AppData%\Microsoft\Network\Connections\Pbk or shared with all users: %ProgramData%\Microsoft\Network\Connections\Pbk


18

Here is my script to launch Cisco AnyConnect Mobility Client v3.1 and log in automatically. Save this script as FILENAME.vbs, replace PASSWORD with your password, replace the path to the VPN Client exe if needed (probably not), and you may also need to adjust the 2nd sleep time as well depending on your connection speed (mine works reliably at 5000 but ...


Only top voted, non community-wiki answers of a minimum length are eligible