Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
Change "Port Forwarding" via command line - I am locked out
« previous
next »
Print
Pages: [
1
]
Author
Topic: Change "Port Forwarding" via command line - I am locked out (Read 3540 times)
votan
Newbie
Posts: 6
Karma: 0
Change "Port Forwarding" via command line - I am locked out
«
on:
March 24, 2020, 10:08:36 pm »
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
Logged
bartjsmit
Hero Member
Posts: 2016
Karma: 194
Re: Change "Port Forwarding" via command line - I am locked out
«
Reply #1 on:
March 25, 2020, 08:40:06 am »
Probably easier to pick option 13 from the console and revert to a config from before you locked yourself out.
Bart...
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
Change "Port Forwarding" via command line - I am locked out