Moderator
Yui
(@fierevere)
ゆい
If your VPN has private address range, you can set up webserver restrictions to allow only your VPN range.
example, on top of .htaccess file:
Order deny,allow
Deny from all
Allow from 10.0.0.0/24
will allow only indicated subnet to access your site.
Go with @fierevere solution.
If you’re comfortable with plugin only solution then it can be easily done with the Restricted Site Access plugin. Where you can whitelist IP or range.