Date: Fri, 26 Dec 2014 15:41:12 +0100 From: Nikolay Denev <ndenev@gmail.com> To: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: setfib and RSTs Message-ID: <CA%2BP_MZHi1hMGq8qbOvpYSMLk4Usr4CAXjR1PdKRt7dE_vMJ7UQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, I have a process (bittorrent client) running in a non-default fib and using a VPN for default gateway: from /etc/rc.local : /usr/sbin/setfib 1 route add $vpn_provider 10.0.0.1 /usr/sbin/setfib 1 /usr/local/sbin/openvpn --config /usr/local/etc/openvpn/provider.ovpn /usr/sbin/setfib 1 /usr/sbin/service transmission onestart Then openvpn installs default gateway in fib 1 to point to the tun(4) interface. Stil, I'm seeing RST packets from the bittorrent client process to be sent not via the tunnel, but to the default gateway of the lan which seems wrong. As if when the kernel generates the RST it does not take into account the FIB of the socket? Any ideas?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BP_MZHi1hMGq8qbOvpYSMLk4Usr4CAXjR1PdKRt7dE_vMJ7UQ>