TUN interface
A TUN inbound reads IP packets from an operating-system virtual interface. Applications need not support application proxy settings when their traffic is routed through that interface.
Where it fits
Section titled “Where it fits”Support: inbound. Consult the Node editor for outgoing chain steps and Inbounds for traffic entry.
Fields and requirements
Section titled “Fields and requirements”name,mtu,portalandportalV6: interface and addressing information.routesandexcludes: which prefixes to capture or bypass.autoFakeIpRoute: dynamically manages the currently active FakeIP ranges where supported.skipMulticastanddriver: platform-specific behavior.
Important limits and troubleshooting
Section titled “Important limits and troubleshooting”- The frontend TUN preset is only a starting configuration; an OS may require permissions and name adjustments.
- Avoid capturing the remote proxy server endpoint through TUN or you can cause a loop.
- If internet access stops, disable TUN and remove stale routes. Read the recovery guide.
When testing, first confirm that the application reaches an enabled inbound. Then check the route target, outbound credentials and Network diagnostics. The frontend UI can differ by platform, so use the supported fields from the current Go contract rather than examples from old releases.