Archive > 15.1 Legacy Series
[SOLVED] Route to interface
benmz:
Hi, first of all thanks a lot for your product... I really love to use a decent interface based on a decent firewall !! ;)
One suggestion I have is to support interface based route.
I was adding route like:
route add -inet 195.154.XX.XX/32 -link -iface em0
before 15.1.12 with /etc/hostname.em0 and /etc/rc.conf, but since last upgrade I'm not able anymore to set them automatically on startup...
How could I implement this option ? I don't even know where to start looking in the code. I'm a robust PHP dev ;) but I have never played with phalcon...
Thanks anyway for your efforts to bring back pleasant firewalls !!
franco:
Hi there, thanks, I think you may be looking for this fix which will also be in tomorrow's 15.7:
https://github.com/opnsense/core/commit/cc88a71d78524006f1596a7496881ede58869d73
Let me know whether that helps or not.
benmz:
Yep! this seems to do the trick for the CLI part... :)
Anyway I'd be glad to help on GUI dev if needed, but I'm a little bit stuck doesn't knowing where to start for this...
But topic could be set as 'SOLVED'
Thanks a lot for your quick answer, and sorry for my bad english... ;D
franco:
Taken care of. And no worries about the English. :)
We'd love some help with the system, here are two pointers...
How to start hacking on the GUI:
http://lastsummer.de/development-workflow-in-opnsense/
Known issues that need help from new contributors:
https://github.com/opnsense/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22
If you have a GitHub account feel free to send pull requests, that's the easiest way to bring code in and to review/discuss.
If you need more help, the IRC channel on FreeNode is #OPNsense
franco:
PS: Why does "System: Routing: Routes" not do the job for your use case?
Navigation
[0] Message Index
[#] Next page
Go to full version