################################
#define MX_PORTS = { 25, 110, 143, 465, 587, 993, 995 }
+define SSH_PORT = 22
define WS_PORTS = { 80, 443 }
oifname $PERIMETER_IF ip daddr $WS_PERIMETER_IPV4 tcp dport $WS_PORTS \
counter accept comment "Webserver access"
+add rule ip ifg_filter forward \
+ ct state new, established \
+ ip protocol tcp \
+ iifname $INTERNAL_IF ip saddr $INTERNAL_IPV4_NETS tcp sport 1024-65535 \
+ oifname $PERIMETER_IF ip daddr $WS_PERIMETER_IPV4 tcp dport $SSH_PORT \
+ counter accept comment "Webserver SSH access"
+
add rule ip ifg_filter forward \
ct state new \
ip protocol udp \