add allow_raw_resources flag to tcp/udp docs

This commit is contained in:
miloschwartz
2025-08-28 12:32:37 -07:00
parent b028422e16
commit c55cedeaf8

View File

@@ -9,6 +9,13 @@ This feature is only available in self-hosted Pangolin instances.
Pangolin supports raw TCP and UDP traffic because Newt can pass anything through the tunnel. Pangolin supports raw TCP and UDP traffic because Newt can pass anything through the tunnel.
Ensure you have the flag enabled in the config file:
```
flags:
allow_raw_resources: true
```
These resources can either be: These resources can either be:
1. **Publically Proxied:** Map the resource to a port on the host Pangolin server, so you can access the resource from `<server-public-ip>:<mapped-port>`. This is useful if you want to access the resource over the public internet, such as exposing a game server like Minecraft. 1. **Publically Proxied:** Map the resource to a port on the host Pangolin server, so you can access the resource from `<server-public-ip>:<mapped-port>`. This is useful if you want to access the resource over the public internet, such as exposing a game server like Minecraft.
2. **Internal Exposure:** Map services accessible on the same network as the site to an internal port on the site address. This is useful if you only want internal exposure to a resource when connected with a client. 2. **Internal Exposure:** Map services accessible on the same network as the site to an internal port on the site address. This is useful if you only want internal exposure to a resource when connected with a client.
@@ -80,4 +87,4 @@ Proxied resources require extra configuration to expose on the Pangolin server.
<Note> <Note>
In this example, we expose port 1602 for TCP and port 1704 for UDP. You can use any available ports on your VPS. In this example, we expose port 1602 for TCP and port 1704 for UDP. You can use any available ports on your VPS.
</Note> </Note>