Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring DNS and TLS #201

Open
BSarmady opened this issue Jul 28, 2024 · 0 comments
Open

Configuring DNS and TLS #201

BSarmady opened this issue Jul 28, 2024 · 0 comments

Comments

@BSarmady
Copy link

BSarmady commented Jul 28, 2024

Hi,

after installing the X-UI, I have two issues

1- I'm getting a lot of
ERROR dns: exchange failed for ********.***. IN A: context canceled
ERROR dns: exchange failed for ********.***. IN A: io: read/write on closed pipe

and

ERROR [********** **.**s] inbound/tun[tun-in]: download: An existing connection was forcibly closed by the remote host.

in client connecting to XRay

Which then client (browser) shows Secure Connection Failed

I tried adding following dns to both client and server but it didn't fix the issue.

        "hosts": {
            "dns.google": [
                "8.8.8.8",
                "8.8.4.4"
            ]
        },
        "servers": [
            "8.8.8.8",
            "8.8.4.4",
            "localhost"
        ],
        "queryStrategy": "UseIP",
        "disableCache": false,
        "disableFallback": false,
        "disableFallbackIfMatch": false,
        "tag": "dns_inbound"
    },

2- How can I add TLS to my connection? Since the configuration in neither X-UI nor Xray explains the kind of certificate that can add, the question is can I add a self signed certificate? do I need to enter a domain?
a) in Xay configuration says I can add min and max version to transport layer, and also can select type (simulate browser, ....), how do I add those to X-UI is just adding it to Xray json enough? If I do that, how should I configure client connection in inbound tab?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant