{% extends "base.html" %}
{% block title %}NAT - Vacuum Wall{% endblock %}
{% block content %}
Masquerade (Source NAT)
Port Forwarding (DNAT)
| Zone |
Proto |
Port |
Target |
Tgt Port |
Action |
{% 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 %}
| {{ fwd.zone }} |
{{ fwd['proxy-protocol'] }} |
{{ fwd.port }} |
{{ fwd['to-addr'] }} |
{{ fwd['to-port'] }} |
|
{% endfor %}
{% if not all_forwards %}
| No port forwarding rules configured |
{% endif %}
{% endblock %}