Questions tagged [vpn]

A VPN is a Virtual Private Network, an encrypted connection from one computer (e.g. a home one) to another network (e.g. a work one). It can also be between two networks.

Filter by
Sorted by
Tagged with
35
votes
2answers
32k views

How to auto connect to VPN upon login/boot?

So far, I've been using the build-in VPN tool of Lion. I would like to auto connect my VPN whenever I'm connected to the internet. Is it possible to auto connect my VPN whenever I'm connected to the ...
8
votes
1answer
37k views

How to configure VPN per app in iOS 7?

As one of the business feature the upcoming iOS 7, Apple has announced the ability to configure VPN on application basis. However, details about this feature are hard to find on the web. I am ...
23
votes
8answers
39k views

Mac OS X Mountain Lion - DNS resolving uses wrong order on VPN via dial-up connection

I am using a MacBook with Mac OS X 10.8.2 and connect to my company's network via VPN. Everything works great when establishing the VPN connection via LAN or WLAN. However, when I use a dial-up ...
17
votes
2answers
7k views

How to ensure that all traffic goes through VPN connection once it has been started?

I connect to the internet through a VPN provider along with other precautions in order to ensure privacy (against traffic analysis by agencies of a repressive government). I currently use Tunnelblick ...
19
votes
5answers
16k views

How does my iMac know my location in the maps app, given that I use a VPN that has my IP about 200 miles from where my address is?

I have an iMac (Mid 2011, if it matters) and I just installed Mavericks. When I launch the Maps app, it knows PRECISELY where I am, which I could certainly understand if it was using IP geolocation. ...
4
votes
1answer
1k views

Routing all traffic except a few IP-ranges though default gateway in Mountain Lion

I am using VPN (Cisco IPSec) through the default Mountain Lion network preferences. In Lion (and also in Snow Leopard), I did the following to change the routing back to using my default gateway for ...
6
votes
8answers
76k views

VPN client is not working after Yosemite update: Enforce Firewall Policy Fail

I use both the Apple VPN client (L2TP over IPSec in Network preferences) and Checkpoint Endpoint Security client to connect to work. I installed Yosemite last night and today I can not connect to ...
17
votes
1answer
12k views

Is it possible to have per-app network/vpn/proxy settings

I have a few different applications on my Mac that ideally I would like to run with different network settings. One app for work I need to run over my work VPN, but at the same time, I have another ...
10
votes
2answers
3k views

How should I use VPN on a Mac to prevent compromise before the VPN starts?

As most experienced users will have heard, using a Mac in a public untrusted Wi-Fi can be potentially harmful. A tool like Firesheep1 has made it very easy to intercept unencrypted communication. ...
8
votes
3answers
26k views

How to create a VPN connection via terminal?

I have a macbook pro with mavericks running. I am looking for a way to connect to a VPN network in terminal. The reason why I want to do this is that I want to write a small program in Python which ...
4
votes
1answer
5k views

How to automatically connect VPN when connecting to a network?

In my university, the only way to access Internet is to connect to a VPN server. I've configured the VPN on my Mac and it's working fine, but I need to manually connect to the VPN every time I connect ...
1
vote
2answers
240 views

Improve file transfer performance over VPN

I have two Apple machines: a server and a client. Both are running the newest builds of macOS Sierra 10.12.6. The “server” machine is running macOS Server running VPN and file sharing. Both machines ...
0
votes
2answers
3k views

networksetup -connectpppoeservice “VPN” does not work anymore on Yosemite

I have some bash scripts to connect my VPN but since Yosemite was installed they doesn't work anymore. I tested directly on Terminal with and without sudo: networksetup -connectpppoeservice "VPN" ...
16
votes
3answers
42k views

Juniper Network Connect hangs at “Establishing Secure Session” after upgrading to OS X Yosemite

I know it's a bad idea to upgrade an OS so soon when you are running any enterprise software, especially related to security/vpns etc. But I did! And I would like to avoid downgrading if possible. ...
15
votes
3answers
8k views

How do you get a Cisco VPN connection to remember its password?

The Problem I've got a Cisco IPSEC VPN connection in my network settings on a Yosemite machine. It works fine, aside from prompting for a password on every single connection. The saved password is ...
12
votes
8answers
13k views

Getting VPN to auto-reconnect on connection drop

I use the built-in VPN on Mac OS X 10.7.3. It's IPSec, FWIW. From time to time, it disconnects (probably an issue with my corporate server). Is there a way to get it to automatically reconnect? ...
14
votes
3answers
34k views

How can I make the Cisco VPN Client work with Lion?

Worked in Snow Leopard and now gives error 51 and the sudo restart system command in Terminal i used to use doesn't work. Any idea?
38
votes
2answers
53k views

How can I read the log when I fail with VPN

I have a Macbook Pro and I'm trying to get VPN from home to work. It refuse to work. I have turned on verbose logging, but how can I read the log ?
9
votes
1answer
53k views

What is VPN on demand, and how do I get it to work with iOS?

I know what a VPN is, and I've done a little reading about how to set up VPN on demand. However, I'm confused. Is VPN on demand essentially a certificate instead of a password prompt on each connect?...
17
votes
2answers
74k views

Where is the “Send all traffic over VPN connection” setting in OSX 10.9 Mavericks?

I'm attempting to change the settings of a Cisco IPSec VPN connection which was set up through OSX's built in VPN client in system preferences. The VPN functions as expected, allowing me to access ...
4
votes
5answers
30k views

Sharing a VPN connection using Internet Sharing (via Airport)

Internet Sharing from my MacBook Pro (10.6.6) to other WiFi devices works fine. But the moment I turn on the VPN connection (PPTP) on the Mac (which I would also like to share), the other devices ...
2
votes
7answers
38k views

Deleting VPN Configuration Files From Network System Preferences

Unfortunately I used a shitty VPN service called VPN OneClick Pro. When you uninstall the app it does not remove the VPN configuration files it creates in Network in System Preferences. So in other ...
9
votes
5answers
18k views

A Mac OS X VPN client that can import a .VPN file

I have a .vpn file that I use on Windows with the Shrew Soft VPN Client that has the connection details (excluding the username and password). Is there an equivalent client for Mac OS X that will ...
8
votes
2answers
5k views

How do I automatically connect to a VPN when using Wi-Fi in OS X? [duplicate]

The FBI issued a warning regarding hotel Wi-Fi access points, and any other public access point. I'd like to make sure my apple device always uses a VPN when using Wi-Fi. That way even if an attacker ...
4
votes
1answer
8k views

How to start Tunnelblick VPN connection via Terminal

I can connect/disconnect using the Tunnelblick app. How do I connect via the command line? /Applications/Tunnelblick.app/Contents/Resources/openvpnstart start ??? How do I determine the parameters ...
4
votes
1answer
13k views

Remote controlling a Macbook Pro with the lid down?

I have a MacBook Pro that I would like to use while I'm at work, but am reluctant to actually take to work because the environment is quite dusty. I have been provided with a IBM Thinkpad running ...
1
vote
1answer
854 views

pfctl config to only allow OpenVPN connection

I found what appears to be a suitable guide here, but pfctl complains of a syntax error and "no IP address found for en3" which is my main interface. I have had other pf rules working successfully to ...
6
votes
2answers
1k views

How to check the VPN setting created by an app on an iOS device?

Many VPN apps would create VPN profiles on the iOS device. Unlike VPN profiles create by the user, they cannot be edited, and therefore the user cannot see the setting of said profile. With a ...
3
votes
0answers
771 views

How to override DNS resolver ordering while connected to L2TP VPN

OS: macOS Mojave 10.14 (18A389) Current network setup: Local domain: home.rossipedia.com Subnet: 172.16.10.0/24 Gateway / DHCP server / DNS server: 172.16.10.1 Output of scutil --dns: DNS ...
3
votes
1answer
2k views

macOS Sierra 10.12.6 can't connect to VPN using IKEv2. How to troubleshoot?

I am trying to setup a VPN connection using IKEv2. I fill in the server address, the remote ID and the user/password. When I click connect it tries to do it but immediately disconnects. How can I ...
1
vote
0answers
71 views

How to enforce that all traffic from iOS app goes through VPN? [duplicate]

I need to make sure that one of the apps I use can only use internet traffic that goes through VPN. How, as a non-corporate user, can I achieve that? Can per-app VPN settings enabled with a custom ...
6
votes
1answer
8k views

Troubleshooting IKEv2 on 10.11 El Capitan

How do I troubleshoot IKEv2 VPN issues on El Capitan? I've followed these instructions to create an IKEv2 VPN (and certificate) on a Ubuntu server that I want to connect to, which all seems pretty ...
5
votes
0answers
547 views

How to restore network preferences in OS X?

I took my SSD, plugged it into another Mac, and booted the system (OS X 10.10.4) there. When I opened the Network Preferences, I was surprised to find, that all VPN services had disappeared. I am ...
3
votes
1answer
719 views

How can I set up an Apple TV (4th gen) connection to a PPTP/L2TP VPN?

I have in the offices an Apple TV with a custom app that allows each office to see a dashboard with data. The problem is that this data is in the main server, in the office headquarters. Is there ...
2
votes
3answers
349 views

Running OS X Server on main machine

I'm considering installing the OS X Server app on my main, day-to-day machine, in order to run Xcode Server and get a GUI for the VPN configuration (I'm already using the VPN with a manually ...
1
vote
0answers
39 views

DNS on VPN does not work

I have an Azure Point-to-Site VPN over IKEv2 configured and it works well. The problem is with DNS. DNS adresses are filled in Advanced tab of the VPN connection but it does not resolve anything. ...
1
vote
0answers
69 views

Prevent data on unsecured wireless, until VPN is connected [duplicate]

There's a lot of good advice around about avoiding connecting to unsecured wireless networks, and using a VPN (for all traffic) if you absolutely must use one. What seems to be missing from this ...
1
vote
1answer
494 views

Will HomeKit remote access still work if I add a VPN to my Apple TV?

I've currently got a great little HomeKit setup in my home which works perfectly even when I'm out of the house. I understand that HomeKit makes use of the Apple TV as a hub to enable remote access to ...
1
vote
0answers
1k views

yosemite DNS resolution woes over IPSec tunnels / VPN

I am connecting to a Cisco IPSec tunnel from MacOS to a hosted pfsense box that is running a number of other IPSec site-to-sites happily, and the DNS resolution is not working. I also am in full ...
1
vote
2answers
10k views

VPN Passthrough problems with Airport Extreme

Today I started trying to work from a network that uses the Airport Extreme version 7.7.1. Typically I use a VPN client (Viscosity) which gives me access to the various servers that my company runs ...
1
vote
1answer
2k views

Selectively route VPN traffic - how do I determine subnet value?

I'm trying to route just specific traffic (a specific domain) on my Mac over my company VPN. This seems to be the most recommended way to do it, Create the file /etc/ppp/ip-up with following content:...
1
vote
1answer
2k views

OS 10.13.3 IKEv2 VPN automatically disconnects

I am unable to connect through IKEv2 VPN. I fill in everything but clicking connect only tries to do that(without actually connecting) and almost immediately disconnects. Syslog is empty, in wifi.log ...
1
vote
1answer
236 views

Only HTTPS websites working otherwise I receive ERR_CONNECTION_REFUSED [duplicate]

I am facing annoying problem of only HTTPS websites working on my Mac (in all browsers). I can only visit Google, YouTube, Facebook, Yahoo etc. So far, I tried following: Websites shows error of: ...
0
votes
1answer
902 views

VPN - split tunnel routing [duplicate]

I would like to use a VPN to access all sites external to our local intranet, but preserve local routing so that I can still access sites on the local intranet (e.g. in 10.0.0.0/8). I am using the Mac ...
0
votes
1answer
668 views

Force DNS server ip while connected to VPN

I'm using Fortclient VPN to connect to a customer network and the client enforces the use of their DNS (since the customer is in Turkey I get false DNS responses on wikipedia and other websites while ...
0
votes
1answer
267 views

macOS native VPN can't cifs:// into file server on another network

I have configured the macOS' native VPN to connect from location (a) to location (b), and now I would like to access the Thecus file storage server I have at location (b). Accordingly, pressing cmdK ...
0
votes
2answers
3k views

How to access ProXPN's settings?

I installed ProXPN on my Mac and successfully used it. It installs an icon in the menu bar which you can use to enable and disable the application. I was messing around with the settings and clicked ...