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
24
votes
1 answer

Establish a VPN connection with react-native on android

How can I create a VPN connection (PPTP or anything else) with react-native in android and then connect to it?
Amir J
  • 517
  • 4
  • 9
24
votes
3 answers

Possible to configure OS X VPN to split traffic between VPN and local interface?

I'm using the built-in OS X VPN tool to connect to my company's network. I notice that, when I'm connected, all traffic goes over the VPN. In the past when I've used the Windows VPN tool I was able to configure it such that only traffic to certain…
jph
  • 2,181
  • 3
  • 30
  • 55
24
votes
3 answers

how to let docker container work with sshuttle?

I need container be able to use sshuttle tool. I try either way in host or containner. But none of it will work. Here's what I need: I run : sshuttle -r mysshaccount@my.remote.server --dns 0/0 in host. It can help host application access internet…
peyoot
  • 361
  • 2
  • 6
23
votes
2 answers

Method to pass username and password in VpnService.Builder

I am developing the application in which I want to use VPN network. to create VPN network in device we need to configure it from (settings-wireless and network-VPN settings) menu of device. I want to do this many settings via code with hard-coded…
Juned
  • 6,290
  • 7
  • 45
  • 93
23
votes
2 answers

Set a VPN connection programmatically on android 4.0

I'm working on programmatically setting a VPN connection on android devices. I was successfully able to do so for devices using OS 2.3.5 and before (I used reflection to get to the hidden classes). But with android 4.0 they got rid of the old…
Ahmad
  • 438
  • 1
  • 6
  • 10
22
votes
3 answers

Docker not working with a VPN due to network issues

For some reason my VPN (NordVPN) is interfering with Docker: make start docker-compose -f docker-compose/docker-compose.base.yml -f docker-compose/docker-compose.dev.yml up -d doCreating network "docker-compose_default" with the default…
Daniel
  • 3,115
  • 5
  • 28
  • 39
22
votes
4 answers

Eclipse Java remote debugger extremely slow over VPN

I sometimes am forced to work away from my office, meaning that I need to VPN into my lab. I've noticed that remote-debugging with Eclipse in this situation is horrendously slow. Slow to the point where it takes 5-7 minutes for the debugger to…
user3062946
  • 682
  • 1
  • 6
  • 17
21
votes
2 answers

Create/Connect VPN connection through C#.Net

I have a URL, a username, and a password. I want to establish a VPN connection in C# .Net WinForms. Can you please tell me from where I can get started? Any third party API's ? Code samples will be highly appreciated...
xtremist
  • 909
  • 2
  • 9
  • 18
21
votes
18 answers

Not connecting to SQL Server over VPN

I have connected for the first time to an existing network over VPN. I can ping the IP address which is used by the SQL Server from the VPN client, but SSMS does not connect to the SQL Server. I am using the right login id and password. Why could…
Chakra
  • 2,525
  • 8
  • 43
  • 82
21
votes
1 answer

How are existing VPN applications creating new profiles in Android 2.0 - 2.3?

After much searching on StackOverflow, it seems rooting a device in the only way to create a VPN profile pre-4.0 My question is how do the following apps do it without root?…
Oh Danny Boy
  • 4,857
  • 8
  • 56
  • 88
19
votes
4 answers

AWS VPN using federated login with Google IdP - app_not_configured_for_user

I'm trying to setup a VPN connection using a federated login with Google IdP following these instructions. Previously, I had configured a saml-provider with Google and it worked fine to authenticate users to the AWS console through Google using ARN…
Cyril Duchon-Doris
  • 12,964
  • 9
  • 77
  • 164
19
votes
0 answers

How to setup Packet Tunnel Provider with device-internal VPN

I'm trying to build an iOS app that lists all requests that are made from the device, like Charles Proxy does. Much like Charles, my idea has been to create a Packet Tunnel Provider and have it setup a local VPN connection without an external VPN…
Daniel Saidi
  • 6,079
  • 4
  • 27
  • 29
19
votes
3 answers

Cannot get docker-machine to work with virtualbox when using Cisco VPN AnyConnect

When I use Cisco VPN Anyconnect to join to my corporate network, I cannot get docker-machine to connect to my virtualbox VM. It has something to do with Cisco Anyconnect taking over all 192.168.. routes. I also tried using a totally different cidr…
Dhawal
  • 1,240
  • 2
  • 12
  • 20
18
votes
2 answers

curl: (35) error:0A000152:SSL routines::unsafe legacy renegotiation disabled

Commands like curl and wget give the following error:curl: (35) error:0A000152:SSL routines::unsafe legacy renegotiation disabled. I am using WSL2 Ubuntu and on a corporate firewall. I did export my trusted root ca cert to WSL and updated…
user21387093
  • 193
  • 1
  • 1
  • 5
18
votes
5 answers

How to share Guest VM's VPN Connection with Host

I've found it impossible to find an answer to this amidst the legion of How Tos explaining how to share your wireless connection or how to share a Host's VPN with a Guest. I have a Guest Windows 10 VM (using VirtualBox) which I set up with a Bridged…
JaneDoe
  • 430
  • 1
  • 4
  • 16