I would like to add a Ziti Gateway as described in "Use a Router as a Local Gateway".
Currently, my router is configured as follows and works as a reverse proxy:
listeners:
# bindings of edge and tunnel requires an "edge" section below
- binding: edge
address: tls:0.0.0.0:3022
options:
advertise: domain.name:3022
connectTimeoutMs: 5000
getSessionTimeout: 60
- binding: tunnel
options:
mode: host #tproxy|host
I am considering simply adding a new binding for the gateway:
listeners:
- binding: edge
address: tls:0.0.0.0:3022
options:
advertise: domain.name:3022
connectTimeoutMs: 5000
getSessionTimeout: 60
- binding: tunnel
options:
mode: host
- binding: tunnel
options:
mode: tproxy
bind: udp://127.0.0.1:5553 # input from named (DoT)
resolver: udp://127.0.0.1:53 # forward to cloudflared (DoH)
dnsSvcIpRange: 100.64.0.0/10
domains:
public.dns.zone: internal
default: upstream
Can I safely add this new binding alongside my existing ones, or are there any considerations I should be aware of when combining host and tproxy tunnel modes on the same router?