You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You have to replace ``<bind port>`` with the port you want ViaProxy to run on.\
14
-
The ``-oam_auth`` argument is optional and enables the [OpenAuthMod](https://github.com/RaphiMC/OpenAuthMod) authentication.\
15
-
The ``-a0`` and ``-v1.8.x`` arguments are required for ViaProxy to start but don't do anything in SRV mode.
16
7
8
+
To use the SRV mode in ViaProxy you have to start it through the config.\
9
+
Here are The config options require to make a Public SRV mode.
10
+
```
11
+
bind-address: 0.0.0.0:25568 # will translate to viaproxy.0-0-0-0.nip.io:25568
12
+
target-address: 127.0.0.1 # unused on srv mode.
13
+
target-version: 1.8.x # unused on srv mode.
14
+
auth-method: OpenAuthMod
15
+
wildcard-domain-handling: PUBLIC
16
+
```
17
+
18
+
You have to replace ``0.0.0.0:<bind port>`` with the port you want ViaProxy to run on.\
19
+
The ``auth-method: openauthmod`` is optional and enables the [OpenAuthMod](https://github.com/RaphiMC/OpenAuthMod) authentication. for 1.19.4 users, see the caution below.\
20
+
The ``target-address`` and ``target-version`` are required for ViaProxy to start but don't do anything in SRV mode.
21
+
> [!CAUTION]
22
+
> warning: auth-method: openauthmod will be not functional for 1.7-1.7.10, Vanilla 1.8-1.19.3, 1.19.4-1.21.1, and Bedrock Edition.\
23
+
> Reason: 1.7-1.7.10: OpenAuthMod is only available for 1.8.
24
+
> Bedrock: Forge or Fabric don't support Bedrock Edition.\
25
+
> 1.19.4+: OpenAuthMod discontinued before release of 1.19.4. use this option if you want to.
17
26
### Connecting to ViaProxy in SRV mode
18
27
To connect to ViaProxy in SRV mode you need a domain pointing to the IP of the server running ViaProxy.\
19
28
The subdomain ``viaproxy.`` is required for it to work.\
20
29
For local connections you can use ``viaproxy.127-0-0-1.nip.io``.
21
30
22
31
To connect to a server through ViaProxy you have to prepend the ``server ip``, ``server port`` and ``version`` to your domain:
23
32
````
24
-
<ip>_<port>_<version>.viaproxy.<domain>
33
+
address_port_version.viaproxy.hostname
25
34
````
26
35
27
36
For example to connect to ``lenni0451.net:39999`` with the version ``C0.30-CPE`` you can use:
0 commit comments