MHSanaei / 3x-ui

Xray panel supporting multi-protocol multi-user expire day & traffic & ip limit (Vmess & Vless & Trojan & ShadowSocks & Wireguard)
https://t.me/XrayUI
GNU General Public License v3.0
9.04k stars 2.08k forks source link

Update x-ui.sh with ufw port settings #2230

Closed Athameral closed 2 months ago

Athameral commented 2 months ago

It really costs time when adding rules for a large range, if for loop is used in bash. Changed it to built-in port range support (with colon) in ufw.

MHSanaei commented 2 months ago

thank you