Skip to content
Discussion options

You must be logged in to vote

first you need to know,

  1. rules is from up to down
  2. ip not equal to domain
back to your coding
your first rules is 
      "domainStrategy": "AsIs",
      {
        "type": "field",
        "ip": [
          "0.0.0.0/0",
          "::/0"
        ],
        "outboundTag": "BLOCK"
      },

      - if www.abc.com = 7.7.7.7

      your code only block https://7.7.7.7, ftp://7.7.7.7 openvpn 7.7.7.7, but cannot block https://www.abc.com

if you want to block all websites and requests, giving users limited access to specific sites

  1. you need to pass specific sites first
  2. block all sites

like

  "routing": {
    "domainStrat…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BemoBit
Comment options

Answer selected by BemoBit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants