Q: Change network services access from command line
Hi everyone
Using Server 5 on El Capitan. I was adjusting some settings in the Access pane of Server. I was restricting Remote Administration (and screen sharing?) to one specific machine - but made a typo. The end result was restricting access to 127.0.0.1 and the incorrect address. So I can no long remote administer the machine with the Server app, not with ARD , and nor can I vnc into it.
I do, however, have ssh access.
Is there a way to adjust the IP associated with the remote administration service from the command line?
Thanks
-Jeff.
Mac mini (Late 2014), OS X El Capitan (10.11.4), Server 5.1
Posted on May 6, 2016 8:20 PM
Turn off the packet filter:
sudo pfctl -d
You should be able to connect to Remote Access. Then reboot.
Posted on May 7, 2016 6:31 AM