Last active
July 12, 2023 18:45
-
-
Save RicherMans/fe91849be93f373af2805a7d75e3dbab to your computer and use it in GitHub Desktop.
Simple ufw config for v2ray
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ufw enable | |
ufw allow ssh | |
ufw allow 41335:60031/tcp # Or your v2ray kcp/udp port range | |
ufw allow 41335:60031/udp # Or your v2ray kcp/udp port range | |
ufw allow http | |
ufw allow https | |
ufw default deny incoming | |
ufw reload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment