Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Max new connections (max-src-conn-rate) for port forwarding rules
« previous
next »
Print
Pages: [
1
]
Author
Topic: Max new connections (max-src-conn-rate) for port forwarding rules (Read 2564 times)
qulobit
Newbie
Posts: 2
Karma: 0
Max new connections (max-src-conn-rate) for port forwarding rules
«
on:
December 15, 2021, 07:03:13 pm »
Hello everyone
I have been using OPNsense for ~1 year and I am looking to rate limit some of the (tcp) open ports. I could do that easily for the ports that terminate at the router ("advanced" settings in edit rule screen > Max new connections), but I can't seem to find a way to do for rules associated with a port forward.
Reading
https://forum.opnsense.org/index.php?topic=2097.msg6879#msg6879
suggests that we can't edit those associated rules, but is there any other way to enable max-src-conn-rate?
Thanks very much!
Logged
Fright
Hero Member
Posts: 1777
Karma: 164
Re: Max new connections (max-src-conn-rate) for port forwarding rules
«
Reply #1 on:
December 15, 2021, 08:29:06 pm »
Hi
maybe you can try not to add the associated rule but create it yourself with the required parameters?)
Logged
qulobit
Newbie
Posts: 2
Karma: 0
Re: Max new connections (max-src-conn-rate) for port forwarding rules
«
Reply #2 on:
December 16, 2021, 08:01:55 am »
That worked. Thanks! I will change all the rules to manual.
BTW, shouldn't there be a better way to accomplish this?
Also, how do I know if I am bringing all the same settings to the new rules? Is there any way to see what is in the auto generated rules?
Thanks again!
Logged
Fright
Hero Member
Posts: 1777
Karma: 164
Re: Max new connections (max-src-conn-rate) for port forwarding rules
«
Reply #3 on:
December 16, 2021, 09:22:20 am »
glad it works)
Quote
Is there any way to see what is in the auto generated rules?
i think you can view "auto-rule" id in Firewall: Rules (click '?' sign after Description header) and search for this rule in Firewall: Diagnostics: Statistics -> Rules
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Max new connections (max-src-conn-rate) for port forwarding rules