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
18
votes
6 answers

Unable to connect to docker on Anyconnect VPN

I am using docker toolbox on windows for docker related development. This works fine when I am on home or office network but doesn't work when I am using anyconnect VPN to connect to office network. Please let me know if there is a network setting…
dabansal
  • 340
  • 1
  • 4
  • 14
18
votes
7 answers

How can I programmatically create a Windows VPN connection?

I have a support environment where we connect to many of our customers' systems using VPN and Remote Desktop. Right now, support personnel have to manually set up the VPN connection on their workstation. Is there a way to programmatically create the…
hurcane
  • 1,190
  • 1
  • 8
  • 18
17
votes
3 answers

What's the fastest way to work in git over a slow network connection?

Here's the scenario: At work we have quite a few branches and we haven't kept the repo as tidy as we should, occasionally adding/removing large files or whatnot, and rarely removing dead branches. So today is a snow day and I have to work from…
Jeff Ward
  • 16,563
  • 6
  • 48
  • 57
17
votes
3 answers

Can't push/pull to bitbucket via SSH using IPv6

When I can push/pull to bitbucket: From my work computer via ssh key id_rsa_bitbucket_work From my laptop, but only when logged into VPN (Cisco AnyConnect) via ssh key id_rsa_bitbucket. My VPN has a static IP. Always using https. When I cannot…
Faustin Carter
  • 686
  • 6
  • 12
17
votes
4 answers

apt-get install via tunnel proxy but ssh only from client side

So... this is my problem: I can access to a VPN from my machine. I can access to a server in the VPN via SSH, but this machine has no access inside out because a firewall is blocking the reverse ssh connections. So I can't use Internet via tunnel to…
rasputino
  • 691
  • 1
  • 8
  • 24
17
votes
1 answer

Capture Network Packets in Android?

I am working on a project where I need to capture the incoming/outgoing packets and store them in a pcap file. Android has provided VpnService for this purpose which was added in API Level 14. Although there seems to be a lot of questions regarding…
thedarkpassenger
  • 7,158
  • 3
  • 37
  • 61
17
votes
5 answers

Not able to access local server running after VPN connection

I have local application server running and I can access it using http://localhost:4554. If I connect to VPN not able to load above url. I am using dongle to connect to internet. Please help!
rohitkadam19
  • 1,734
  • 5
  • 21
  • 39
16
votes
1 answer

docker DNS configuration is not updated after connecting to VPN

Question I'm using docker 19.03.9, on Ubuntu 18.04; docker daemon is configured to start automatically. When I connect to my employer VPN, docker DNS configuration is not updated, unless I restart the docker daemon. Is there a way to update…
Géraud
  • 1,923
  • 3
  • 20
  • 20
16
votes
1 answer

Android http Tunnel using VpnService

I'm trying to redirect the whole android network traffic through HTTP Tunnel, and there is no tutorial or Github Repository on how to do it. Simply just get the host, port, username, and password from the user and tunnel the whole device to that…
Mojtaba Razaghi
  • 319
  • 4
  • 10
16
votes
2 answers

Git error: Unable to negotiate with XX.XX.XXX.XXX : no matching host key type found . their offer: ssh-dss

I am trying to connect to a repository that works through my VPN. I downloaded Git and when I try to clone the repo, I get this message: Unable to negotiate with XX.XX.XXX.XXX : no matching host key type found . their offer: ssh-dss Is there…
Keith Ape
  • 1,103
  • 1
  • 12
  • 28
16
votes
1 answer

Node.js - Programmatically Connect to a VPN or route HTTP Requests via VPN

This is probably a bit of a long shot. But in Node.js I want to make an HTTP request (using, for instance, the request package on npm) via a VPN server. I already have a VPN server set-up (using HideMyAss) and I can connect to it at the Operating…
Sunday Ironfoot
  • 12,840
  • 15
  • 75
  • 91
16
votes
3 answers

Build docker behind VPN

At the project I am at now, we have Github Enterprise set up behind a VPN, so I use OpenVPN to connect with my desktop (Ubuntu 14.04 LTS), but when I try to build with Docker (using Centos6) I always get ssh: Could not resolve hostname…
Kyrremann
  • 571
  • 1
  • 5
  • 16
16
votes
5 answers

Connect CISCO Anyconnect VPN via bash

As title says, trying to connect vpn via bash. The following script seemed closest to the answer I'm looking for: #!/bin/bash /opt/cisco/anyconnect/bin/vpn -s << EOF connect…
Brayden Hancock
  • 786
  • 1
  • 6
  • 22
16
votes
10 answers

Checkpoint VPN issue: Connectivity with VPN service is lost

I have installed SecuRemote Client of checkpoint E75.30 on my computer running Windows 8. When I try to perform any of SecuRemote functions e.g. See client, Add client, See options etc. it gives the error "Connectivity with VPN service is lost" I…
user1997268
  • 287
  • 1
  • 6
  • 15
16
votes
4 answers

Connect to VPN in Genymotion Android

I'm trying to Configure and Connect to VPN in Genymotion Virutal Device, I can configure VPN connection in the Virtual Device but unable to Connect, No error showing. I used same settings in my PC and Real Android Devices, Its working fine in the…
Thamilan S
  • 1,045
  • 3
  • 18
  • 30