https://remoteindian.com/ logo
#random
Title
# random
w

wonderful-sandwich-45250

10/08/2021, 10:17 AM
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

creamy-sundown-74328

10/08/2021, 10:42 AM
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

wonderful-sandwich-45250

10/08/2021, 11:06 AM
Hey I checked hammer spoon. does it helps in connecting to VPN without entering the password ?
w

witty-answer-12530

10/08/2021, 11:33 AM
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

wonderful-sandwich-45250

10/08/2021, 11:39 AM
@witty-answer-12530 I have same setup!
w

witty-answer-12530

10/08/2021, 11:58 AM
and it's not working? 🤔
w

wonderful-sandwich-45250

10/08/2021, 12:51 PM
Nope!
c

cool-garage-76023

10/09/2021, 8:31 AM
Have your tried Tunnelblick
g

glamorous-mouse-696

10/09/2021, 5:56 PM
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