diff --git a/FAQ.md b/FAQ.md index ac1ffaf..c9a3eff 100644 --- a/FAQ.md +++ b/FAQ.md @@ -729,26 +729,6 @@ Example: https://github.com/rustdesk/rustdesk/pull/13453 Example: https://github.com/rustdesk/rustdesk/pull/13453 - -# Possibilities to limit access to webconsole by IP/subn - -All web console files start with `/static/`, all api start with `/api/`. If you use NGINX, you can write some NGINX rule to limit what you want. - -e.g. - -``` - location /static/ { - allow 192.168.1.0/24; # Your office network - allow 10.0.0.0/8; # Private networks - allow YOUR.HOME.IP.HERE; # Your home IP - deny all; - - proxy_pass http://127.0.0.1:21114; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - } -``` - https://github.com/rustdesk/rustdesk-server-pro/issues/833#issuecomment-3588117836 @@ -1808,7 +1788,22 @@ https://github.com/rustdesk/rustdesk/discussions/1258 # Possibilities to limit access to webconsole by IP/subnet -https://github.com/rustdesk/rustdesk-server-pro/issues/833 +All web console files start with `/static/`, all api start with `/api/`. If you use NGINX, you can write some NGINX rule to limit what you want. + +e.g. + +``` + location /static/ { + allow 192.168.1.0/24; # Your office network + allow 10.0.0.0/8; # Private networks + allow YOUR.HOME.IP.HERE; # Your home IP + deny all; + + proxy_pass http://127.0.0.1:21114; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + } +``` # Multiple RustDesk IDs on the Same Device