To modify the elements of the block_ips set using the nft command line, you can use the following commands:

  1. Add an IP address to the set:

    sudo nft add element ip v2ray block_ips { 192.168.0.26 }
    
  2. Remove an IP address from the set:

    sudo nft delete element ip v2ray block_ips { 192.168.0.26 }
    

Note: Replace 192.168.0.26 with the desired IP address you want to add or remove from the set.

for nft configtable ip v2ray set block_ips type ipv4_addr flags interval elements= 192168026 how modify the elements of the block_ips by nft command line

原文地址: https://www.cveoy.top/t/topic/hFo2 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录