Bug 130493

Summary: BUG or FEATURE
Product: Base System Reporter: kes-kes
Component: miscAssignee: Gavin Atkinson <gavin>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 1.0-CURRENT   
Hardware: Any   
OS: Any   

Description kes-kes 2009-01-13 09:30:00 UTC
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?
Comment 1 Gavin Atkinson freebsd_committer freebsd_triage 2009-01-16 09:23:06 UTC
State Changed
From-To: open->closed

To submitter:  I don't know if this is a bug or a feature - and 
the PR database is not the place to ask.  I'd recommend you email 
your question to freebsd-net@freebsd.org with a better subject line 
and see what they think.  If it is in fact a bug, please open 
another PR. 


Comment 2 Gavin Atkinson freebsd_committer freebsd_triage 2009-01-16 09:23:06 UTC
Responsible Changed
From-To: freebsd-bugs->gavin

Track