Summary: | source address based routing without pf or ipfw | ||
---|---|---|---|
Product: | Base System | Reporter: | n+freebsd |
Component: | kern | Assignee: | freebsd-net (Nobody) <net> |
Status: | New --- | ||
Severity: | Affects Some People | CC: | damjan.jov |
Priority: | --- | Keywords: | feature |
Version: | 10.1-STABLE | ||
Hardware: | Any | ||
OS: | Any |
Description
n+freebsd
2015-08-02 07:38:36 UTC
Doesn't support for multiple FIBs give you a way to route by source? For example: # Increase the number of routing tables (FIBs) to 2: # sysctl net.fibs=2 # setfib 1 route add 192.168.0.0 -interface wlan0 # setfib 1 route add default 192.168.0.1 Then, for an "application" to use FIB 1 instead of the default 0, just: # setfib 1 application Or to get another source IP address to use FIB 1, make firewall rule to send it there, eg.: # ipfw add allow all from ... to any setfib 1 Is that what you need? |