Newbie how to restore 2 rules deleted accidentally from /ip proxy access?

Hello

I am a newbie. I wrote a script to populate a whitelist inside of the /ip proxy access table, but I deleted accidentally the 2 default rules that were present. Where can I find these rules back?

The visible part of these rules (when performing a /ip proxy access print with telnet) was:

/ip proxy access 
add dst-port=23-25 action=deny comment="block telnet & spam e-mail relaying"
add dst-port=!443,563 method="CONNECT" action="deny" comment="allow CONNECT only to SSL ports 443 [https] and 563 [snews]"

but I am afraid I omitted other hidden parameters which I couldn’t see with the print command.

Thanks in advance.

With /undo command you can undo last changes.

Thank you, mrz, but the changes are too old (last week): the router is inside a production environment and I can’t reverse the changes. I suppose there must be some way to show the factory settings somewhere online.

Anyway, I am glad to hear about the existence of the /undo command.

There is no factory settings in ip proxy access menu.

You can see whole default configuration by running /system default-configuration print

Hello mrz

Thank you for helping me.

Well, actually, I found two rules: I discovered these by restoring an old configuration before I deleted the rules (from a backup file), then exporting the configuration with /export, and finally restoring the most recent configuration:

/ip proxy access
add action=deny comment="block telnet & spam e-mail relaying" dst-port=23-25
add action=deny comment=\
    "allow CONNECT only to SSL ports 443 [https] and 563 [snews]" dst-port=\
    !443,563 method=CONNECT



I am glad to hear about this possibility. When I run the command you propose, I don’t see anything about /ip proxy indeed, but when you activate the proxy with /ip proxy set enabled=yes, two rules appear which were not present in the default-configuration script.

So, my problem is solved, and I hope I soon will be no more a newbie.