Questions tagged [vpn]

A virtual private network (VPN) is a network that uses primarily public telecommunication infrastructure, such as the Internet, to provide remote offices or travelling users access to a central organizational network. Questions about configuring or using a VPN should be asked on Super User or Server Fault.

Virtual private networks encapsulate data transfers using a secure cryptographic method between two or more networked devices (which are not on the same private network) to keep the transferred data private from other devices on the wide area networks. (adapted from Wikipedia)

Although VPNs are private, they still use public resources. This means that all data sent over the network needs to be encrypted encase it is intercepted during the transfer.

Please keep in mind that questions about how to set up or use VPN software do not involve programming, and are therefore off-topic for this site. You may want to try posting these questions on Server Fault instead.

3339 questions
33
votes
2 answers

VPN over PPTP on mac os sierra

Lately I discovered that connecting to a VPN via PPTP option has been removed in the new mac os - sierra. I tried multiple application to do so - all failed. How can I connect to my VPN over PPTP? ps. I don't want to use L2TP because I don't have a…
Niv Apo
  • 983
  • 1
  • 9
  • 18
32
votes
4 answers

WSL-2 DNS is not working with VPN connection on Win 10

I have WSL Version 2 running on my Windows 10 Laptop. I'm using the WSL distribution Ubuntu-20.04. When I connect to a VPN network domain name resolution doesn't work so I can't access the Internet. VPN Client in use is "Cisco AnyConnect Secure…
Hball99
  • 485
  • 1
  • 4
  • 4
32
votes
3 answers

AWS Cloudfront for VPC/VPN

Does AWS allow usage of Cloudfront for websites usage, eg:- caching web pages. Website should be accessible within corporate VPN only. Is it a good idea to cache webpages on cloudfront when using Application restricted within one network?
32
votes
1 answer

git-svn rejected Basic challenge now that VPN is required

I have been using git-svn for a few months now as an interface to the SVN repository for my company. However, about a week ago my company changed their policy such that SVN is only reachable if connected by way of Cisco VPN. I have no trouble…
Warren Wright
  • 589
  • 1
  • 4
  • 11
31
votes
9 answers

Check if a VPN connection is active in Android?

I have a third party VPN app on my non-rooted Android 4.4 device, and want to write a background service to monitor the VPN connection and alert the user if the VPN connection has been broken. Is there a way to do this? I couldn't find any way…
Dan Largo
  • 1,075
  • 3
  • 11
  • 25
29
votes
2 answers

How to programmatically create a new VPN interface with Android 4.0?

I'd like to know whether it's possible to create a VPN interface programmatically with the new VPN APIs in Android 4.0. I've looked through http://developer.android.com/resources/samples/ToyVpn but this is about creating a complete VPN client that…
gelupa
  • 592
  • 1
  • 4
  • 11
29
votes
1 answer

Site-to-site VPN vs point-to-site VPN

I have a scenario where I have a Windows VM in windows Azure that needs to connect to an external customer network (and connect to a database that is not in Azure). This traffic is uni-directional in that it is only my VM that needs to connect to…
user2713516
  • 2,983
  • 5
  • 23
  • 49
28
votes
3 answers

Create VPN on Android programmatically

I know this has been asked before, but most of them are 3 to 4 years ago with no definite answers. I would like to know if this is already possible as of 2015.
jameshwart lopez
  • 2,993
  • 6
  • 35
  • 65
28
votes
3 answers

Calling OpenConnect VPN client in docker container shows TUNSETIFF failed: Operation not permitted

I'm calling openconnect inside an ubuntu based docker container. It successfully connects to the server and prompt for my password, but then Got CONNECT response: HTTP/1.1 200 OK CSTP connected. DPD 30, Keepalive 20 TUNSETIFF failed: Operation not…
speedogoo
  • 2,828
  • 2
  • 17
  • 19
27
votes
2 answers

Connect pptp vpn with android vpnservice

I'm trying to write an application that could connect to my VPN server with pptp protocol , as i was researching I found out that with android.net.vpnservice I could connect, but as I read some of documentation it was not clear how to connect to VPN…
Duke
  • 1,731
  • 2
  • 17
  • 33
27
votes
4 answers

Connect to VPN by Powershell

I'd like my Windows to connect to the VPN server as soon as it loads. How can I do it using Powershell?
Ann
  • 475
  • 1
  • 5
  • 14
26
votes
3 answers

Connect to VPN programmatically in iOS 8

Since the release of iOS 8 beta, I found a Network Extension framework in its bundle which is going to let developers configure and connect to VPN servers programmatically and without any profile installation. The framework contains a major class…
25
votes
2 answers

TPM 2.0 - could not load "libtss2-tcti-tabrmd.so.0"

I am trying to follow this guide and am not getting very far. I am using a pretty basic digital ocean VPS running latest ubuntu 20.04, and am getting this error when trying to create the certificate authority. kieran@azuracast:~$ pki --gen --type…
kieranlittle667
  • 251
  • 3
  • 3
25
votes
2 answers

Windows SSTP VPN - connect from Mac

You may know that windows server VPN often can run on SSTP. Connecting from Windows 10 is pretty easy, but if you have to work remotely from your personal Mac? Mac OS does not support SSTP VPN out of the box.
Yury Bondarau
  • 847
  • 1
  • 9
  • 20
24
votes
2 answers

Azure VPN P2S Azure AD Authentication Connection Problem: The operation was canceled by the user

I've setup an Azure VPN Gateway according to the instructions on https://learn.microsoft.com/en-us/azure/vpn-gateway/openvpn-azure-ad-tenant However, each time I connect, the AAD Credentials token for the user is received successfully. But next I…
epieters
  • 1,077
  • 1
  • 7
  • 10