Should i place the rule mentioned by
Companion before accepting rules for VPN ?
The order would be like :
add action=drop chain=input in-interface=ether1 src-address=216.218.206.0/24
add action=accept chain=input comment="allow l2tp/ipsec" dst-port=500 in-interface=ether1 protocol=udp
add action=accept chain=input comment="allow l2tp/ipsec" dst-port=4500 in-interface=ether1 protocol=udp
add action=accept chain=input comment="allow l2tp/ipsec" dst-port=1701 in-interface=ether1 protocol=udp
I do understand what
emils mentioned, just asking to make sure this is the proper way to block certain ip from connecting via vpn with my network.