Hello All!
I have Port Forwarding on port 80 enabled and its working fine but I want to restrict it to allow from certain external IP's only and I needed some help getting it to work. Here is my current setup:
Any help would be greatly appreciated!!
WAN: Ether1
LAN: Ether 3
Port Forwarding Device IP on Ether 3: 10.30.200.100
External IP list= AllowList
/ip firewall address-list
add address=69.199.199.199 list=AllowList
add address=69.199.199.198 list=AllowList
/ip firewall filter
add action=accept chain=forward comment="Port Forward 80" dst-address=\
10.30.200.100 dst-address-list=AllowList dst-port=80 protocol=tcp
/ip firewall nat
add action=dst-nat chain=dstnat comment="Port Forward 80" dst-address-list=\
AllowList dst-port=80 in-interface=ether1 protocol=tcp to-addresses=\
10.30.200.100 to-ports=80