Hot answers tagged

1 vote

Bind nginx to vpn address only

There is also an option to make it through NGINX configs, here it is: location / { allow 45.43.23.0/24; # Change this to appropriate range deny all; }
1 vote
Accepted

Bind nginx to vpn address only

If you are using UFW, you can just simply allow port access only for specific ranges. Here is an example: ufw allow from 172.29.70.0/24 to any port 443 proto tcp comment "HTTPS only zerotier"...

Only top scored, non community-wiki answers of a minimum length are eligible