Connecting peer
{{.RawPeer}}
{{if .PeerTrusted}}
trusted{{else}}
not trusted{{end}}
{{if not .PeerTrusted}}
The connecting peer isn't a trusted proxy, so forwarding headers are ignored and the peer is used as the client IP. If a proxy or router sits in front, add its address to the trusted list below.
{{end}}
X-Forwarded-For chain (client = rightmost untrusted hop)
{{if .XFFChain}}
{{range .XFFChain}}
{{.IP}}{{if .Trusted}} · trusted{{end}}{{if .Selected}} · client{{end}}
{{end}}
{{else}}
No X-Forwarded-For header on this request.{{end}}
Trusted proxy ranges
{{range .TrustedProxies}}{{.}}{{end}}
Set MESHTENDER_TRUSTED_PROXIES (comma-separated CIDRs/IPs, or the private shorthand) to trust additional hops. Loopback is always trusted.