Change "Port Forwarding" via command line - I am locked out

Started by votan, March 24, 2020, 10:08:36 PM

Previous topic - Next topic
Hi,
I intended to do a port forward to my DMZ, but something went wrong and now I cannot access OPNsense GUI anymore (error "PR_END_OF_FILE_ERROR" in browser).

I think I need to change (meaning: delete) the port forward from the command line where I still have access.

A similar problem was described https://forum.netgate.com/topic/59501/show-port-forward-nat-rule-port-via-command-line for pfsense, but I cannot make sense out of it. Probably this is a different implementation.

Can anyone direct me how to change the port forward rules from the command line?
In case you see any other option please direct.

Appreciate your time,
votan

Probably easier to pick option 13 from the console and revert to a config from before you locked yourself out.

Bart...