https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242744

--- Comment #15 from Eugene Grosbein <eu...@freebsd.org> ---
(In reply to Victor Sudakov from comment #14)

Routing lookup can be performed within shell script, too:

gw=$(route -n get "$REMOTE_ADDR" | awk '/gateway: / {print $2}')

As for ipfw. First, ipfw never requied matching on some interface name, this is
optional. Second, every outgoing locally generated packet has its outgoing
interface anyway including targeted to same host, these go out via lo0.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to