Hello,
in an earlier version of IPFire the main OVPN page of the WUI showed the subnet of each client in separate tables. Since the upgrade of OpenVPN 2.6 this feature has been removed.
As I find it very useful to see directly on the first page to which subnet a client belongs, this patch should bring back this feature.
I think this is also something users requested multiple timesin the forum.
There is just one thing I am currently unsure how to handle: When a client belongs to the dynamic subnet, the current patch would display "dynamic" independent from the language of the WUI. Maybe this could be adjusted?
Best regards
Peer
Signed-off-by: Peer Dietzmann <dietzmann@brecht-schule.hamburg>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
<th>
$Lang::tr{'remark'}
</th>
+ <th width='10%'>
+ $Lang::tr{'ccd subnet'}
+ </th>
<th width='10%'>
$Lang::tr{'status'}
</th>
# Show remarks
print "<td>$confighash{$key}[25]</td>";
+ # Show subnet
+ print "<td class='text-center'>$confighash{$key}[32]</td>";
+
my $connstatus = "DISCONNECTED";
# Disabled Connections