Problems with inward PPTP tunnel

Brett Glass brett at lariat.net
Tue Mar 24 14:38:42 PDT 2009


>Qing,
>
>Sorry, but your patch doesn't fix the issue, everytime the 
>route_UpdateMTU* is called the route is set to the ethernet 
>interface using the gateway address instead of the correct tun interface.
>
>The patch in PR works exactly in that situation as confirmed by Brett.
>
>Thanks,
>Luiz
>
>* This will happen every time you provide ppp over ethernet (pppoe, vpns)

Qing:

I can confirm that Luiz' patch does work. I applied it and was able 
to disable my workaround. The only thing I would change is that I 
would turn off the "gateway" flag (RTF_GATEWAY) in the routing 
table entry. (You suggested this, implicitly, when you mentioned 
using the -iface flag.) This is because the "tun" interface is 
really a bridge, not a gateway.

--Brett Glass






More information about the freebsd-net mailing list