Giter VIP home page Giter VIP logo

Comments (11)

ohmydevops avatar ohmydevops commented on May 24, 2024 2

Yes, I can do it after my work, tonight.

from v2ray-docker-compose.

miladrahimi avatar miladrahimi commented on May 24, 2024 1

Could you please test and make a pull request if you have found the right config?

from v2ray-docker-compose.

miladrahimi avatar miladrahimi commented on May 24, 2024 1

Is there any different between your config and the current one?
Could you please create a pull request?

from v2ray-docker-compose.

miladrahimi avatar miladrahimi commented on May 24, 2024 1

It's better to use bridge all the time to protect upstream server from being banned and also pay Internet as Interanet!

from v2ray-docker-compose.

ohmydevops avatar ohmydevops commented on May 24, 2024

Do I miss something?

from v2ray-docker-compose.

ohmydevops avatar ohmydevops commented on May 24, 2024

https://www.v2ray.com/en/configuration/routing.html#routingobject

from v2ray-docker-compose.

ohmydevops avatar ohmydevops commented on May 24, 2024

With current config ("strategy": "rules"):

image

v2ray_client | 2022/10/11 16:18:31 172.18.0.1:46532 accepted //cdn.isna.ir:443 [proxy] 

With new config ("domainStrategy": "IPIfNonMatch"):

image

v2ray_client | 2022/10/11 16:16:48 172.18.0.1:54928 accepted //cdn.isna.ir:443 [direct] 

from v2ray-docker-compose.

ohmydevops avatar ohmydevops commented on May 24, 2024

This is my router setting config:

"routing": {
        "domainStrategy": "IPIfNonMatch",
        "settings": {
            "rules": [
                {
                    "type": "field",
                    "outboundTag": "direct",
                    "domain": [
                        "regexp:.*\\.ir$",
                        "arvancloud.com"
                    ],
                    "ip": [
                        "geoip:ir",
                        "0.0.0.0/8",
                        "10.0.0.0/8",
                        "100.64.0.0/10",
                        "127.0.0.0/8",
                        "169.254.0.0/16",
                        "172.16.0.0/12",
                        "192.0.0.0/24",
                        "192.0.2.0/24",
                        "192.168.0.0/16",
                        "198.18.0.0/15",
                        "198.51.100.0/24",
                        "203.0.113.0/24",
                        "185.143.232.0/22",
                        "185.215.234.21",
                        "185.215.235.21",
                        "92.114.16.80/28",
                        "2.146.0.0/28",
                        "46.224.2.32/29",
                        "89.187.178.96/29",
                        "195.181.173.128/29",
                        "89.187.169.88/29",
                        "188.229.116.16/29",
                        "83.123.255.56/31",
                        "164.138.128.28/31",
                        "94.182.182.28/30",
                        "185.17.115.176/30",
                        "5.213.255.36/31",
                        "138.128.139.144/29",
                        "5.200.14.8/29",
                        "188.122.68.224/29",
                        "188.122.83.176/29",
                        "213.179.217.16/29",
                        "185.179.201.192/29",
                        "43.239.139.192/29",
                        "213.179.197.16/29",
                        "213.179.201.192/29",
                        "109.200.214.248/29",
                        "138.128.141.16/29",
                        "188.122.78.136/29",
                        "213.179.211.32/29",
                        "103.194.164.24/29",
                        "185.50.105.136/29",
                        "213.179.213.16/29",
                        "162.244.52.120/29",
                        "188.122.80.240/29",
                        "109.200.195.64/29",
                        "109.200.199.224/29",
                        "185.228.238.0/28",
                        "94.182.153.24/29",
                        "94.101.182.0/27",
                        "37.152.184.208/28",
                        "78.39.156.192/28",
                        "158.255.77.238/31",
                        "81.12.28.16/29",
                        "176.65.192.202/31",
                        "2.144.3.128/28",
                        "89.45.48.64/28",
                        "37.32.16.0/27",
                        "37.32.17.0/27",
                        "37.32.18.0/27",
                        "::1/128",
                        "fc00::/7",
                        "fe80::/10"
                    ]
                }
            ]
        }
    }

from v2ray-docker-compose.

ohmydevops avatar ohmydevops commented on May 24, 2024

I'm working on pull request

from v2ray-docker-compose.

ohmydevops avatar ohmydevops commented on May 24, 2024

Check this: #16

from v2ray-docker-compose.

ohmydevops avatar ohmydevops commented on May 24, 2024

You can test by visiting https://isna.ir !

If you pass traffic by upstream proxy, you should see isna twitter! But if you pass traffic from bridge (or I think it's better to make direct connection between client and destination, not bridge) you will see isna.ir home page. (This is weird :) )

from v2ray-docker-compose.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.