# Public client edge on NS1. Binds the public IPv4 only (not 0.0.0.0). # Forwards to the private 3-node cluster via leafnodes. No JetStream here. # Cluster routes :6222 and hub leaf :7422 stay on vmbr1. server_name: nats-public-edge listen: {{PUBLIC_IP}}:4222 http: 127.0.0.1:8229 authorization { token: "{{TOKEN}}" } websocket { listen: 127.0.0.1:14422 no_tls: true compression: true } leafnodes { remotes: [ { url: "nats://10.10.10.21:7422" } { url: "nats://10.10.10.22:7422" } { url: "nats://10.10.10.23:7422" } ] }