783 B
783 B
add_route_policy Command
Name
add_route_policy
Synopsis
add_route_policy ${ipv6_prefix} ${fib_number}
Description
Configures internal variables to cause rc.d scripts to generate pf rules that
route traffic originating from the specified ${ipv6_prefix} to be routed
according to the rules in the specified fib_number.
Examples
Send traffic from internal prefix fd12:3456:789a:bcde::/64 through a friend's network on fib 42
static_routes="${static_routes} my_friend"
route_my_friend="-6 :: 2001:db8:f000:b000::1 -fib 42" # This specifies a default route for fib 42.
add_route_policy fd12:3456:789a:bcde::/64 42