OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: GaardenZwerch on April 19, 2021, 08:21:53 AM

Title: Static route destination sanity check
Post by: GaardenZwerch on April 19, 2021, 08:21:53 AM
Hi,
I have just found out that OPNsense let's me enter nonsensical destinations in the static routes dialogue.
It let me put

10.204.71.0/16

in the destination field (even overriding my larger 10.204.0.0/16 route)
Maybe a check could prevent dummies like me from sabotaging their network ;-)

Thanks
Title: Re: Static route destination sanity check
Post by: astuckey on May 20, 2021, 07:10:52 PM
I guess the mask must put it back to 10.204.0.0, but takes precedence because it is still more specific than the original 10.204.0.0.