EASY WAY TO PROTECT X UI
buy a domain
add it to Cloudflare and turn cloudflare ON ( orange cloud )
Create a dns point to your main IP ex: cmsx123.domain.tdl ( something only you know)
on your nginx conf
PHP:server { listen 8447 ssl;ssl_certificate server.crt;ssl_certificate_key server.key; ssl_protocols SSLv3 TLSv1.1 TLSv1.2; #use ssl port 2053, 2083,2097,8447 index index.php index.html index.htm; root /home/xtreamcodes/iptv_xtream_codes/admin/; server_name YOURDNS; if ($host != "YOURDNS") { return 404; } location ~ \.php$ { limit_req zone=one burst=8; try_files $uri =404; fastcgi_index index.php; fastcgi_pass php; include fastcgi_params; fastcgi_buffering on; fastcgi_buffers 96 32k; fastcgi_buffer_size 32k; fastcgi_max_temp_file_size 0; fastcgi_keep_conn on; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SCRIPT_NAME $fastcgi_script_name; } }
your x ui will only open ( works ) if they know the DNS you used.
you can also add some rules do Cloudflare to increase your protection
its not solve all the problems but will help.
how to add different addresses into this