Follow the steps below to configure a Proxy-Cheap proxy in Clash Verge using a local YAML profile.
Important Notes
- This setup uses a Local YAML profile.
- The SOCKS5 and HTTP configurations use the same general structure, but the
typevalue must match the proxy you are using. - Select Global mode after adding the proxy.
- If some applications do not follow the normal system proxy, you can enable TUN Mode.
Setup Steps
Step 1: Open Clash Verge and create a new profile
Open Clash Verge, go to Profiles, and click New.
Step 2: Create a Local profile
Select Local, enter a name for the profile, and click Save. Right-click the new profile and select Edit File to open the YAML configuration.
Step 3: Replace the existing YAML with the proxy configuration
Replace the existing YAML with the configuration below, then replace the placeholder values with your proxy details.
proxies:
- name: "MyProxy"
type: socks5
server: proxy IP
port: proxy port
username: "username"
password: "password"
proxy-groups:
- name: "Proxy"
type: select
proxies:
- "MyProxy"
rules:
- MATCH,ProxyOnly add udp: true to a SOCKS5 configuration if UDP support has been confirmed for your proxy. Do not include it in the HTTP configuration.
Make sure the proxy name used under proxies matches the name referenced in proxy-groups. Enter the server as an IP address or hostname, without a URL prefix, and enter the port as a number without quotation marks. Keep the YAML indentation unchanged.
Step 4: Change the type for HTTP proxies
If you are using an HTTP proxy, change type: socks5 to type: http.
Step 5: Save the profile and confirm it appears
Save the YAML file and return to Profiles. Select the local profile you created and confirm that it is active.
Step 6: Test the proxy and proxy group
Open Proxies from the left sidebar and test MyProxy. Select Global mode, then choose MyProxy in the GLOBAL group.
Step 7: Go to Home and enable System Proxy
Return to Home and enable System Proxy. Confirm that Global mode is still selected and MyProxy is the current node.
Step 8: Verify the proxy IP
Open an IP-check website and confirm that the displayed IP matches the configured proxy IP or proxy exit IP.
Step 9: Enable TUN Mode if some apps do not use the proxy
If certain applications ignore System Proxy, enable TUN Mode and complete any required service installation or administrator-permission prompts. Test the application again. TUN Mode does not add UDP support to a proxy that lacks it.