Outgoing packets being sent via wrong interface
Julian Elischer
julian at freebsd.org
Tue Dec 1 10:24:31 UTC 2015
On 1/12/2015 4:03 PM, Daniel Bilik wrote:
> On Mon, 30 Nov 2015 23:47:18 +0800
> Julian Elischer <julian at freebsd.org> wrote:
>
>> ok next time try
>> netstat -raAnW before and after
> Attached ("Internet6" part removed to reduce noise).
>
>> maybe we can spot at difference.
> According to diff(1), entries differ only by "Use" column between .pre
> and .during. The .post output shows the state after "refreshing" default
> route, so there are also different addresses for those entries.
so that doesn't tell us much..
I"m as stumped as you are here..
if you reload pf it has no effect?
pf is the part of the picture I have no experience with so I'm
naturally suspicious of it.
have you tried a simple ipfw nat instead? just as a sanity check?
something like
ipfw nat 1 config if re0
ipfw add 30 nat 1 ip from not me to any out xmit re0
ipfw add 40 nat 1 ip from any to me in recv re0
>
> --
> Dan
More information about the freebsd-net
mailing list