I am working on an ajax function that loads another page as a way to get around iframe limitations on Shopify. My issue seems to be that the URL is blocked or headers stripped. Nothing too complex, …
Tag: firewall
How to remove Mikrotik PHP Api firewall nat entry using find
I am trying to add and remove NAT entry using a single line php api code but unable to do it. Terminal code Mikrotik: /ip firewall nat remove [find comment=id9] I am trying writing bellow php api: to Add: $API->comm(“/ip/firewall/nat/addn=chain=dstnatn=src-address=103.19.131.3n=protocol=tcpn=action=dst-natn=comment=id9n=to-addresses=103.19.130.215n=to-ports=80”); to remove: $API->comm(“/ip/firewall/nat/remove/[findn=comment=id9]”); Can anyone help me to solve it? Thanks in advance. Answer Its done. Bellow is the code: