Mon Oct 15, 2018 3:54 pm
Here is the FW setup >
/ip firewall filter
add action=accept chain=input comment=\
"defconf: accept established,related,untracked" connection-state=\
established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=\
invalid
add action=accept chain=input comment="defconf: accept ICMP" protocol=icmp
add action=drop chain=input comment="defconf: drop all not coming from LAN" \
in-interface-list=!LAN
add action=accept chain=forward comment="defconf: accept in ipsec policy" \
ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" \
ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
connection-state=established,related
add action=accept chain=forward comment=\
"defconf: accept established,related, untracked" connection-state=\
established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid" \
connection-state=invalid
add action=drop chain=forward comment=\
"defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat \
connection-state=new in-interface-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" \
ipsec-policy=out,none out-interface-list=WAN
here is some dropped traffic>
14:43:47 firewall,info srcnat: in:(unknown 0) out:ether1, src-mac c0:25:xxx, proto UDP, 192.168.88.251:62026->69.174.194.168:20177, len 43
14:43:47 firewall,info srcnat: in:(unknown 0) out:ether1, src-mac c0:25:xxx, proto UDP, 192.168.88.251:62027->69.174.216.25:20137, len 43
14:43:53 firewall,info srcnat: in:(unknown 0) out:ether1, src-mac c0:25:xxx, proto UDP, 192.168.88.251:62029->69.174.220.21:20127, len 43
14:43:56 firewall,info srcnat: in:(unknown 0) out:ether1, src-mac c0:25:xxx, proto UDP, 192.168.88.251:62030->64.37.174.141:20125, len 43
14:43:57 firewall,info srcnat: in:(unknown 0) out:ether1, src-mac c0:25:xxx, proto UDP, 192.168.88.251:62031->103.194.166.37:20151, len 43
14:43:57 firewall,info srcnat: in:(unknown 0) out:ether1, src-mac c0:25:xxx, proto UDP, 192.168.88.251:62032->69.174.216.21:20104, len 43
14:43:57 firewall,info srcnat: in:(unknown 0) out:ether1, src-mac c0:25:xxx, proto UDP, 192.168.88.251:62033->69.174.194.166:20156, len 43
14:43:57 firewall,info srcnat: in:(unknown 0) out:ether1, src-mac c0:25:xxx, proto UDP, 192.168.88.251:62034->69.174.194.168:20177, len 43
and firewall rule>
14:43:02 firewall,info forward: in:bridge out:ether1, src-mac c0:25:x, proto TCP (ACK,FIN), 192.168.88.251:53892->205.185.208.88:443, len 40
14:43:02 firewall,info forward: in:bridge out:ether1, src-mac c0:25:x, proto TCP (ACK,FIN), 192.168.88.251:53886->64.37.171.66:443, len 40
14:43:02 firewall,info forward: in:bridge out:ether1, src-mac c0:25:x, proto TCP (ACK,FIN), 192.168.88.251:53888->64.37.171.66:443, len 40
14:43:02 firewall,info forward: in:bridge out:ether1, src-mac c0:25:x, proto TCP (ACK,FIN), 192.168.88.251:53891->64.37.171.66:443, len 40
14:43:02 firewall,info forward: in:bridge out:ether1, src-mac c0:25:x, proto TCP (ACK,FIN), 192.168.88.251:53887->64.37.171.66:443, len 40
14:43:02 firewall,info forward: in:bridge out:ether1, src-mac c0:25:x, proto TCP (ACK,FIN), 192.168.88.251:53889->64.37.171.66:443, len 40
14:43:02 firewall,info forward: in:bridge out:ether1, src-mac c0:25:x, proto TCP (ACK,FIN), 192.168.88.251:53890->64.37.171.66:443, len 40