Skip to content

Instantly share code, notes, and snippets.

@meysampg
Last active October 18, 2022 10:17
Show Gist options
  • Save meysampg/cf1baf9b11a288c73731d93fcc58797c to your computer and use it in GitHub Desktop.
Save meysampg/cf1baf9b11a288c73731d93fcc58797c to your computer and use it in GitHub Desktop.
{
"server":"0.0.0.0",
"server_port":80,
"password":"<PASSWORD>",
"timeout":300,
"method":"aes-256-gcm",
"plugin":"v2ray-plugin",
"plugin_opts":"server",
"user":"nobody",
"nameserver": "1.1.1.1",
"fast_open":true,
"reuse_port":true,
"no_delay":true
}
@meysampg
Copy link
Author

root@freedom:~# cat /opt/ac/ufw.sh 
#!/usr/bin/bash
for ip in $(curl -qs https://www.arvancloud.com/fa/ips.txt); do ufw allow from $ip; done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment