{% 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'), 'proto': fwd.get('proto'), 'port': fwd.get('port'), 'toaddr': fwd.get('toaddr'), 'toport': fwd.get('toport')}) %} {% endfor %} {% endfor %} {% for fwd in all_forwards %} {% endfor %} {% if not all_forwards %} {% endif %}
Zone Proto Port Target Tgt Port Action
{{ fwd.zone }} {{ fwd.proto }} {{ fwd.port }} {{ fwd.toaddr }} {{ fwd.toport }}
No port forwarding rules configured
{% endblock %}