Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Can i block IP ranges from VPN connection attempts?

Getting a lot of chinese ip's trying to access my vpn (failed attempts 🙂), to put it simply, can i prevent access from IP ranges? or alternatively have a whitelist of allowed IP ranges?

Mac mini, OS X El Capitan (10.11), OS X Server

Posted on Oct 13, 2015 12:54 AM

Reply
10 replies

Oct 16, 2015 9:54 PM in response to Thomas-M

The default configuration of the adaptive firewall doesn't actually work, though the documentation doesn't bother to mention that fact. Besides following those instructions, you have to edit the file /etc/af.plist. Change the value of the key "firewall_address" from the default "127.0.0.1" to the IP address of the interface on which the server listens.

Can i block IP ranges from VPN connection attempts?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.