1{{- if .IsGateway}} 2-s {{.TunnelNetwork}} -m comment --comment "egress gateway" -j MASQUERADE 3{{- end}} 4 5{{- if not .IsGateway}} 6-o tun+ -s {{.LocalNodeIP}} -j MASQUERADE -m comment --comment "egress gateway nat return traffic" 7{{- end}}
View as plain text