![]() Reboot your machine to apply these changes. Don’t forget to enable it again when you’re done! Any VM using NAT now has the ability to look up domain names using the DNS server. Lets say, for example, you need to switch DNS servers between a local DNS server: 192.168.1.254. Note: to be able to change the plist file, you need to disable SIP on your Mac! See this StackExchange answer on how to do this. Im not actually sure if this is a limitation of Apples vmnet. Change DNS using the networksetup command line tool on OS X. ![]() ![]() ![]() This change adds a new rdr-anchor and load anchor directive.īefore we continue, parse and validate the new configuration to make sure there are no errors: sudo pfctl -vnf /etc/pf.nfĪll that’s left to do is update the plist file at /System/Library/LaunchDaemons/ so PF will read from our new configuration file and enable PF using the -e flag. Load anchor "com.apple" from "/etc/pf.anchors/com.apple" Change its contents from this: scrub-anchor "com.apple/*"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |