This article answers the question “How do I configure a WS TLS node?” It covers importing a link, checking the fields, and testing the connection, and explains the different roles of IP addresses, DNS, and browser settings. It applies to clients that support VLESS or VMess, such as v2rayN and v2rayNG. Menu names may vary slightly between versions; use the information provided by your node provider when filling in the fields.
1. Understand WS and TLS
WS stands for WebSocket, the transport method used by a node; TLS encrypts the connection. Neither is a node protocol: a node can use the VLESS protocol with WS transport and TLS. Before configuring a node manually, have the server address, port, UUID, WS path, and any required Host or SNI information from your provider ready.
The address, Host, and SNI are not necessarily the same, and you should not substitute one for another. The address determines which server to connect to, the WS Host is the hostname in the request header, and SNI identifies the target domain during the TLS handshake. Don’t fill in any field without clear instructions.
2. Import the node first, then check the key fields
- Install a client: Download the installer from the project’s official release page or a trusted app store. Avoid modified versions from unknown sources.
- Import the node: Copy the complete vless:// or vmess:// link, then select “Import from clipboard” in the client. You can also scan a QR code. Add subscription URLs under “Subscription Management,” then save and update the subscription; don’t enter them in the server address field.
- Check the protocol and credentials: Open the node’s edit page and confirm the protocol, server address, port, and UUID. Set VMess encryption options and any VLESS-specific fields as instructed by your provider.
- Check the transport: Set the transport to WS and preserve the full path, including its leading slash and any parameters. If your provider supplies a WS Host, enter it in the corresponding field.
- Check the security settings: Enable TLS and enter the SNI or “Server Name” as instructed. Don’t change the port to 443 just because TLS is enabled; keep the original port.
- Save and connect: Select the node, enable the system proxy or the client’s VPN mode, and test it by visiting a familiar website. You can start with rule mode to avoid routing unrelated traffic through the proxy.
A complete link usually contains all the required parameters, so don’t change them after importing. If fields are missing after import, the link may have been truncated or the client may not support that format. Clients such as Clash should use a subscription format they support.
3. How IP, DNS, and your browser affect the connection
If you enter a domain as the server address, DNS must resolve it to an IP address before the connection can start. Using an IP address does not necessarily mean you can omit SNI; certificate validation may still require a domain name. Don’t replace the node’s domain with an IP address you found elsewhere, or you may connect to the wrong endpoint or encounter a certificate mismatch.
A browser’s secure DNS, proxy extensions, and cache can affect the results of a website test, but they won’t fix an incorrect WS path or UUID. If the client reports a successful connection but a particular browser can’t open a website, first disable any conflicting proxy extensions and check whether the browser is using a separate proxy.
4. Troubleshoot connection failures in this order
- Connection timeout: First confirm that your local network is working and that the node address and port are correct. Then check the logs for DNS resolution errors.
- TLS handshake failure: Check your system clock, SNI, and certificate domain. Don’t immediately enable “Skip certificate verification.”
- WS handshake failure or a 403 or 404 error: Check the path and Host first, then confirm that the node is still active.
- Connected, but websites won’t open: Check whether the system proxy is enabled and whether your rules route the target website through the proxy. Then check DNS and browser settings.
Change only one setting at a time and test again to make it easier to identify the cause. Free nodes may stop working or be rate-limited, so update your subscription as needed. Don’t publicly share full screenshots containing a UUID, password, or subscription token.