56
votes
Installed openvpn with brew but it doesn't appear to be installed correctly
Add this to your ~/.bash_profile:
export PATH=$(brew --prefix openvpn)/sbin:$PATH
40
votes
Stop Cisco AnyConnect Secure Mobility Client from starting up automatically
Removing the following worked for me.
/Library/LaunchAgents/com.cisco.anyconnect.vpnagent.plist
/Library/LaunchDaemons/com.cisco.anyconnect.gui.plist
Update:
For macOS Catalina and anyconnect 4.7.x ...
38
votes
Accepted
I'm using the f5 software connect to VPN, but errors out with TunnelServer already launched
ps alx | grep svpn | awk '{ print $2 }' | xargs kill -9
Is the generic solution. Here is the narrative on how I arrived at this solution.
From the BIG-IP f5 application log, you can only find this ...
27
votes
PPTP VPN client for macOS Sierra or iOS 10?
The FlowVPN client is free (and works with any provider).
It supports PPTP and OpenVPN on macOS Sierra and High Sierra:
https://www.flowvpn.com/download-mac/
Just overwrite the FlowVPN server ...
26
votes
Accepted
Installed openvpn with brew but it doesn't appear to be installed correctly
At the terminal type:
echo $PATH
That's your default search path for executables. Looks like the openvpn executable was installed someplace not in your search path.
First, you'll need to find the ...
24
votes
Accepted
The process com.cisco.anyconnect.macos.acsockext hogs Mac CPU but cannot be killed or stopped from launching
Press Don't allow When Cisco asks Cisco AnyConnect Socket Filter” Would Like to Filter Network Content.
If you do so it creates Network Settings that automatically launches this CPU-consuming com....
22
votes
Stop Cisco AnyConnect Secure Mobility Client from starting up automatically
If it's not in "Login Items" then it has to be in launchctl. Always prefer the user interface when there is one rather than messing with files directly:
launchctl list | grep -i cisco
...
21
votes
Accepted
Surprisingly many network interfaces on macOS: are these legitimate?
These are perfectly normal.
lo is the loopback interface
en0 and en1 are your hardware interfaces (usually Ethernet and WiFi)
p2p0 is a point to point link (usually VPN)
stf0 is a "six to four&...
21
votes
The process com.cisco.anyconnect.macos.acsockext hogs Mac CPU but cannot be killed or stopped from launching
I think I’ve found a fix.
Go into the Applications folder and open the Cisco folder.
Delete the Cisco Socket Filter application but NOT the Anyconnect client.
I’ve not had the issue since and the ...
16
votes
How do you get a Cisco VPN connection to remember its password?
I guess you are using anyconnect to connect to the Cisco VPN server. AnyConnect can also be used from Terminal. This works on macOS Sierra and AnyConnect 3.1.14018. Create a bash script with the ...
16
votes
Stop Cisco AnyConnect Secure Mobility Client from starting up automatically
So it would seem that if you only install the VPN client AnyConnect will not autostart.
I uninstalled AnyConnect (version 4.x) then reinstalled doing a custom install. I only installed VPN, I did ...
15
votes
Where is the "Send all traffic over VPN connection" setting in OSX 10.9 Mavericks?
I guess not all VPN connections of the build-in VPN client in Mac have that option.
The PPTP and L2TP do offer the option: Open your network settings:
Select your VPN connection and click on the ...
15
votes
How to remove the ‘VPN is not configured’ icon from the menu bar on macOS?
You can usually (but not always) remove a menulet icon by holding down the Command key and dragging it off.
14
votes
Installed openvpn with brew but it doesn't appear to be installed correctly
In my case:
Installation using homebrew
brew install openvpn
Information regarding binaries
brew info openvpn
It gave me installation path as:
/usr/local/Cellar/openvpn/2.4.0
Then I browsed for ...
14
votes
Accepted
Junos Pulse Crashing on El Capitan (10.11), Causing Keychain Issues?
I had the exact same issue. Basically, this happens only if you enable the checkbox "Save Settings" at the username/password prompt in Junos Pulse. If you do not enable this checkbox, it should not ...
13
votes
IPv6 dns resolution on macOS High Sierra
This was a huge hassle to figure out, so I wrote up a little guide in hopes that others would find it helpful:
How to convince macOS to do IPv6 DNS lookups when your only IPv6 address is via a VPN or ...
13
votes
Accepted
How to remove the ‘VPN is not configured’ icon from the menu bar on macOS?
In that menu, click 'Open Network Preferences ...'
and in the next dialog, uncheck the option 'Show VPN status in menu bar'.
12
votes
How to prevent Cisco AnyConnect from disconnecting when locking screen
TL;DR
Launch Terminal and run:
ifconfig | grep -B 6 'status: active' | head -n 1 | cut -d : -f 1
Then run (replace en0 below with the output of the command above):
cd /System/Library/...
11
votes
Accepted
What is the difference between Personal VPN vs VPN Configuration profiles?
In short, no. Both are instances of VPN configurations profiles.
By default, the “VPN Configurations” pane should be the only one that exists if you are installing a VPN configuration profile under ...
11
votes
Installed openvpn with brew but it doesn't appear to be installed correctly
You have to add /usr/local/sbin to your path.
It was installed to /usr/local/sbin but that directory is not in your $PATH by default. Add a line like this to your ~/.bashrc or equivalent:
export ...
10
votes
Accepted
Juniper Network Connect hangs at "Establishing Secure Session" after upgrading to OS X Yosemite
Figured it out. First downgrade JAVA to Apple 1.6 as mentioned by Joe L. Farina above.
That actually does work in some situations, but if your VPN provider only supports an old version of Network ...
10
votes
Accepted
How do I delete route to "link#8" gateway on OS X?
This worked:
sudo route -n delete default -link 8
10
votes
Who creates utun0 adapter?
utun0 is created by macOS for VPN and Back to My Mac, regardless of whether these features are enabled. This is not indicative of any unwanted application being installed; utun0 is expected on macOS ...
grg♦
- 184k
9
votes
VPN client is not working after Yosemite update: Enforce Firewall Policy Fail
I think the unerlying issue is that Yosemite will not load kext (kernel extensions) unless they are signed by an authorized kernel extension developer. However in 10.8 and earlier, kexts could not be ...
9
votes
How do you get a Cisco VPN connection to remember its password?
From reading your question I get the impression that you're doing everything correctly and the Cisco VPN Server has the option to allow saving of passwords client-side set to disallow.
I know for ...
9
votes
How to force MacOS to regenerate /etc/resolv.conf file?
I found a solution today. Actually the file is not /etc/resolv.conf in mac OS. It is /var/run/resolv.conf
So do this:
sudo rm /etc/resolv.conf
sudo ln -s /var/run/resolv.conf /etc/resolv.conf
8
votes
Accepted
How to create a VPN connection via terminal?
You can use these wonderful bash functions from @slhck at Super User:
To connect to different VPNs, have multiple VPNs in Network.prefpane.
function vpn-connect {
/usr/bin/env osascript <<-EOF
...
grg♦
- 184k
8
votes
Accepted
Permanently route an host to VPN in OS X
You can put extra configuration in /etc/ppp/ip-up file, which is described in man pppd, and which is a standard shell script file that will be fired when the pppd establishes a connection.
I don't use ...
8
votes
What is the difference between Personal VPN vs VPN Configuration profiles?
The Personal VPN section contains VPN profiles added by applications that use the NetworkExtension.framework. These are traditional IPSEC VPNs that can use IKEv1 or IKEv2 for key exchange.
Supported ...
8
votes
Accepted
How to start Tunnelblick VPN connection via Terminal
A possibly better idea than messing around with openvpn directly (Tunnelblick is basically just a fancy GUI around it) would be to use an Applescript, something that can definitely be launched from ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
vpn × 643network × 283
macos × 249
ios × 75
wifi × 66
iphone × 41
dns × 38
security × 37
proxy × 28
macbook-pro × 27
terminal × 24
mac × 20
firewall × 19
ssh × 18
internet-sharing × 17
internet × 15
keychain × 14
airport × 14
osx-server × 14
ipad × 13
windows × 13
applescript × 12
catalina × 11
snow-leopard × 11
remote-desktop × 11