I’d like to open upd port 500 and 4500 for an internal ip addresse (e.g. 192.168.88.113)
Traffic should go in both direction! means internal to external and external to internal
How can I do that via Webinterface?
What do I have to enter where?
I’d like to open the two udp ports (500 and 4500) so that traffic can be allowed.
Allow traffic from internal to external over UDP Port and also from external to internal
It depends on your config but I assume you are using a ‘default’ SOHO config.
If so you are NAT-ting from your local LAN to the outside.
Only thing you need to do is create a NAT rule and a firewall filter allowance rule for each port
/ip firewall nat
add chain=dstnat action=dst-nat in-interface= protocol=udp dst-port=500 to-address=192.168.88.113 to-address=500
add chain=dstnat action=dst-nat in-interface= protocol=udp dst-port=4500 to-address=192.168.88.113 to-address=4500If you have a static WAN ip, you could add dst-address= to each line
/ip firewall filter
add chain=forward action=accept protocol=udp dst-address=192.168.88.113 dst-address=500 in-interface=
add chain=forward action=accept protocol=udp dst-address=192.168.88.113 dst-address=4500 in-interface=
My mistake. I wrote to-address twice. The second one in each line should be to-ports. Possibly it also could be to-adresses. I’m writing out of my head and not tested the commands for typo’s