Can I use a domain name instead of an IP in proxyEndpoint?
#59
Replies: 2 comments
-
Yes, domain name endpoints are supported, and resolved at session establishment time. If you have doubts about your configuration, you can start the program with |
Beta Was this translation helpful? Give feedback.
-
|
You can but @database64128 probably doesn't know about the issues you are going to have if you use domain instead of an ip, to make sure domains get resolved you have to use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
Thanks for the great project!
I have a question regarding the client configuration. Specifically, can the
proxyEndpointaccept a domain name instead of a raw IP address?For example, would this work correctly?
Or is it required to use something like:
Here are the full configurations I’m working with:
Client_Config.json
{ "clients": [ { "name": "client", "wgListen": "127.0.0.1:7485", "wgFwmark": 0, "proxyEndpoint": "testserver.com:8596", "proxyMode": "zero-overhead", "proxyPSK": "sAe5RvzLJ3Q0Ll88QRM1N01dYk83Q4y0rXMP1i4rDmI=", "proxyFwmark": 0, "mtu": 1500 } ] }Server_Config.json
{ "servers": [ { "name": "server", "proxyListen": ":8596", "proxyMode": "zero-overhead", "proxyPSK": "sAe5RvzLJ3Q0Ll88QRM1N01dYk83Q4y0rXMP1i4rDmI=", "proxyFwmark": 0, "wgEndpoint": "127.0.0.1:51820", "wgFwmark": 0, "mtu": 1500 } ] }Would appreciate any clarification—thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions