Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Static route based on interface without specifying gateway IP
« previous
next »
Print
Pages: [
1
]
Author
Topic: Static route based on interface without specifying gateway IP (Read 764 times)
THe_ZiPMaN
Newbie
Posts: 1
Karma: 0
Static route based on interface without specifying gateway IP
«
on:
June 06, 2022, 08:00:35 pm »
Good evening,
I need to add a static route through an interface without specifying a gateway.
From the command line it is really simple to do it, and it works:
#
route add 100.99.99.21 -iface vtnet8
But I couldn't discover a way to configure it through the web interface and I really don't want to cheat creating a scripts (it will be undocumented and will be forgotten until something bad happens
)
I looked for a solution in the documentation and in the forum and wasn't able to find anything except a similar question in the French forum in 2018 gone unanswered.
Is it possible to create such a route? Should I create a feature request?
Thanks
Flavio Visentin
«
Last Edit: June 06, 2022, 08:05:02 pm by THe_ZiPMaN
»
Logged
lilsense
Hero Member
Posts: 600
Karma: 19
Re: Static route based on interface without specifying gateway IP
«
Reply #1 on:
June 06, 2022, 09:07:02 pm »
under system routes... you can do the same.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Static route based on interface without specifying gateway IP