{% extends "base.html" %} {% block title %}NAT - Vacuum Wall{% endblock %} {% block content %}
Masquerade (Source NAT)
{% for zone in (zones or []) %} {% endfor %} {% if not (zones or []) %} {% endif %}
Zone Masquerade
{{ zone.get('name', 'unnamed') }}
No zones configured
Port Forwarding (DNAT)

Add Forward Rule

{% set all_forwards = [] %} {% for zone in (zones or []) %} {% for fwd in zone.get('forward_ports', []) %} {% set _ = all_forwards.append({'zone': zone.get('name'), 'proxy-protocol': fwd.get('proxy-protocol'), 'port': fwd.get('port'), 'to-addr': fwd.get('to-addr'), 'to-port': fwd.get('to-port')}) %} {% endfor %} {% endfor %} {% for fwd in all_forwards %} {% endfor %} {% if not all_forwards %} {% endif %}
Zone Proto Port Target Tgt Port Action
{{ fwd.zone }} {{ fwd['proxy-protocol'] }} {{ fwd.port }} {{ fwd['to-addr'] }} {{ fwd['to-port'] }}
No port forwarding rules configured
{% endblock %}