Anyone use VPN on Mac. By VPN I mean native VPN Se...
# random
w
Anyone use VPN on Mac. By VPN I mean native VPN Settings in MAC. I am using VPN in order to connect to my DB server for company I work for. The pain is, it gets disconnected on sleep mode and when I want to re-connect it asks for password again. I am looking for a solution where in I dont need to type password every time I connect to VPN. Thanks
c
It will get disconnected if you let mac go to sleep. You can use one of the many tools availability to not let it go to sleep. I use a hammerspoon script. There are several other apps too
w
Hey I checked hammer spoon. does it helps in connecting to VPN without entering the password ?
w
In your Network Preferences, select the VPN you want > Authentication Settings > User Authentication > enter your password here and click Ok. you can also keep the shared secret stored in the same dialog. This is what I'm using to reconnect without password prompt. It doesn't auto-reconnect on wake, but it allows not having to re-enter the password everytime.
w
@witty-answer-12530 I have same setup!
w
and it's not working? 🤔
w
Nope!
c
Have your tried Tunnelblick
g
https://github.com/sidharthv96/dotfiles/blob/master/.hammerspoon/Modules/scripts/vpn.apsc I used this script along with hammerspoon to automate VPN connect/Disconnect. Uses keychain to store the password securely
👍 1