Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2009 20:09:46 +0200
From:      KES <kes-kes@yandex.ru>
To:        questions@freebsd.org
Subject:   BUG or FEATURE
Message-ID:  <1671260183.20090116200946@yandex.ru>

next in thread | raw e-mail | index | archive | help
Здравствуйте, 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@yandex.ru




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1671260183.20090116200946>