https://github.com/X4BNet/lists_vpn
I have this list but not sure how to actually use openwrt to populate it daily and block the IPS if someone can kindly help me via providing documentation or cmds.
https://github.com/X4BNet/lists_vpn
I have this list but not sure how to actually use openwrt to populate it daily and block the IPS if someone can kindly help me via providing documentation or cmds.
install banip, add the list ?
https://openwrt.org/docs/guide-user/services/banip
https://github.com/openwrt/packages/blob/master/net/banip/files/README.md
Can you explain what this does , it seems fromy understanding that it would block all IP’s in this list , also would it update daily the list daily or staticly use the IP;s in that list. Also how do I know if it works
root@OpenWrt:~# . /usr/share/libubox/jshn.sh
root@OpenWrt:~# json_init
root@OpenWrt:~# json_load_file /etc/banip/banip.custom.feeds 2> /dev/null
root@OpenWrt:~# json_add_object “vpn”
root@OpenWrt:~# json_add_string “descr” “vpn CIDR”
root@OpenWrt:~# json_add_string “url_4” "https://raw.githubusercontent.com/\\
> X4BNet/lists_vpn/main/output/vpn/ipv4.txt"
root@OpenWrt:~# json_add_string “rule_4” “/^[^#]/{print \$1\”,\“}”
root@OpenWrt:~# json_close_object
root@OpenWrt:~# json_dump > /etc/banip/banip.custom.feeds
root@OpenWrt:~# uci add_list banip.global.ban_feed=“vpn”
root@OpenWrt:~# uci commit banip
root@OpenWrt:~# service banip restart
ping 89.116.0.1 - this was in the VPN LIST
Pinging 89.116.0.1 with 32 bytes of data:
Reply from 89.116.0.1: bytes=32 time=89ms TTL=52
Reply from 89.116.0.1: bytes=32 time=95ms TTL=52
Reply from 89.116.0.1: bytes=32 time=92ms TTL=52
Reply from 89.116.0.1: bytes=32 time=90ms TTL=52
install the banip luci package, and have a look via the browser.