BUG or FEATURE

KES kes-kes at yandex.ru
Fri Jan 16 10:09:58 PST 2009


Здравствуйте, Questions.

I have two routing tables, three LAN: one internal, two external.
I have connected VIA VPN to server through internal LAN.
if in firewall I add:
setfib 1 all from internal.lan.ip to any

The packet inside VPN tunnel is marked to have fib 1 and will leave router acording routing table 2 (fib 1)

If client IP is 10.0.0.2 and router IP is 10.0.0.1 and LAN interface is rl2
If VPN interface on router is ng0 and framed IP for VPN client is 192.168.0.2

it seems that
setfib 1 all from internal.lan.ip to any in recv rl2
is equivalent to
setfib 1 all from 192.168.0.2 to any in recv ng0

Is this feature or bug that packet inside tunnel is also marked to have same fib as tunnel/transport packet has?

-- 
С уважением,
 KES                          mailto:kes-kes at yandex.ru



More information about the freebsd-questions mailing list