[pve-devel] applied: [PATCH firewall] macros: add macro for Proxmox Mail Gateway web interface

Thomas Lamprecht t.lamprecht at proxmox.com
Sat Jan 25 16:22:32 CET 2020


On 1/21/20 10:24 AM, Christian Ebner wrote:
> Macro to allow access to the PMG web interface when hosted on PVE.
> 
> Signed-off-by: Christian Ebner <c.ebner at proxmox.com>
> ---
>  src/PVE/Firewall.pm | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/src/PVE/Firewall.pm b/src/PVE/Firewall.pm
> index 4a534d0..255bb9a 100644
> --- a/src/PVE/Firewall.pm
> +++ b/src/PVE/Firewall.pm
> @@ -394,6 +394,10 @@ my $pve_fw_macros = {
>  	{ action => 'PARAM', proto => 'udp', dport => '5632' },
>  	{ action => 'PARAM', proto => 'tcp', dport => '5631' },
>      ],
> +    'PMG' => [
> +	"Proxmox Mail Gateway web interface",
> +	{ action => 'PARAM', proto => 'tcp', dport => '8006' },
> +    ],
>      'POP3' => [
>  	"POP3 traffic",
>  	{ action => 'PARAM', proto => 'tcp', dport => '110' },
> 

applied, thanks!




More information about the pve-devel mailing list