Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About a-b

  • Rank

Recent Profile Visitors

323 profile views
  1. When I'm trying to quit torguard mac UI I'm getting a confirmation dialog which makes sense to me. The problem is that it stops things like system update related restarts. I'd like to be able to control this behavior and disable that.
  2. Cloudflare lunched privacy first DNS and You can find out more and https://news.ycombinator.com/item?id=16727869 I would love to hear thoughts on how are they comparing to TorGuard DNS?
  3. I've made a script â–¶ cat ~/bin/dns-set-torguard.sh #!/bin/bash sleep 2 /usr/sbin/networksetup -setdnsservers Wi-Fi the script file permissions are â–¶ ls -l ~/bin/dns-set-torguard.sh -rwxr-xr-x 1 fakeuser staff 124B Aug 25 11:48 /Users/fakeuser/bin/dns-set-torguard.sh I've made update to /etc/sudoers with sudo vissudo and reboot mac later. â–¶ sudo -l Matching Defaults entries for ab on this host: env_reset, env_keep+=BLOCKSIZE, env_keep+="COLORFGBG COLORTERM", env_keep+=__CF_USER_TEXT_ENCODING, env_keep+="CHARSET LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE", env_keep+="LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME", env_keep+="LINES COLUMNS", env_keep+=LSCOLORS, env_keep+=SSH_AUTH_SOCK, env_keep+=TZ, env_keep+="DISPLAY XAUTHORIZATION XAUTHORITY", env_keep+="EDITOR VISUAL", env_keep+="HOME MAIL", lecture_file=/etc/sudo_lecture User ab may run the following commands on this host: (ALL) ALL (ALL) ALL, (ALL) NOPASSWD: /usr/sbin/networksetup
  4. In some cases, I'm still getting GUI prompt to submit root password. If I skip it I'm getting: Unable to commit systemconfig database. ** Error: Unable to commit changes to network database.
  5. I'm setting trusted DNS server to address an issue with untrusted networks. Like most public wifi's.
  6. Thank you very much for great answer!
  7. Thanks for hint. I don't want to disable root password for all operations by my user. I only want to set DNS without entering my password. I was trying to achieve that by setting script file permissions to: -r-xr-xr-x 1 username staff I was trying to apply setuid technique based on https://github.com/Homebrew/homebrew-core/commit/d15c25dc292eb7b6b740a4335958431659957b5f It would be really great to find a solution where after connect/disconnect script would set DNS without asking for root password.
  8. Hi. Can you please explain how DNS Leak Prevention works? I'm trying to prevent it by setting TG servers, but have no luck to automate it properly. Some thoughts are posted https://torguard.net/forums/index.php?/topic/879-dns-configuration-with-after-connect-script/
  9. Hello, I'm trying to keep my DNS servers pointed to the TG servers: In order to do this, I wrote a script for OSX #!/bin/bash sleep 5 networksetup -setdnsservers Wi-Fi the script file has permissions: -r-xr-xr-x 1 username staff In some reason it doesn't set DNS after connection automatically. It requires me to run in manually with sudo from command line. Any idea what how to achieve that?