IP Reg is a IPAM tool to keep track of assets, nodes (IP addresses, MAC addresses, DNS aliases) within different subnets, over different locations or even VLAN's. Written in PHP, used with a MySQL-database to have a unique insight in your local network.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
ipreg/tpl/nat.tpl

51 lines
999 B

<table class="title">
<tr>
<td class="header">
{$lang_nat_rules} ({$nats|@count})
</td>
<td align="right">
&nbsp;
</td>
</tr>
</table>
<table class="info">
<tr>
<td class="header">
{$lang_nat}
</td>
<td class="header">
{$lang_source} (ext)
</td>
<td class="header">
{$lang_target} (int)
</td>
<td class="header">
{$lang_nat_type}
</td>
</tr>
{foreach item=nat from=$nats}
<tr>
<td class="label">
Rule #{$nat.id} {$nat.description}
</td>
<td class="label">
<a href="node.php?f=view&id={$nat.nat_ext}">{$nat.node_ip_ext}</a>
{if $nat.port_ext}:{$nat.port_ext}{/if}
<td class="label">
<a href="node.php?f=view&id={$nat.nat_int}">{$nat.node_ip_int}</a>
{if $nat.port_int}:{$nat.port_int}{/if}
</td>
<td class="value">
{$nat.nat_type}
</td>
</tr>
{foreachelse}
<tr>
<td colspan="4">
{$lang_nat_none}
</td>
</tr>
{/foreach}
</table>