can't find routing entry for network routes

Julian Elischer julian at elischer.org
Thu Oct 8 17:01:26 UTC 2009


Ahrenholz, Jeffrey M wrote:
>>> Will netgraph let you create a gif or other tunneling 
>> socket and plug 
>>> it in directly to the graph? Would the alternative be piping a 
>>> userland tunneling socket and ng_socket?
>> there is an ng_gif node but I've never used it.
>>
>> look in /usr/src/sys/netgraph to see what exists. They are 
>> supposed to all have man pages.
>>
>> I like mpd for tunneling..
>> it is a higher level user of netgraph.
> 
> Another good one is ng_ksocket(4), which you can use to directly connect the netgraph systems of two different kernels across the network. It behaves like a bare-bones tunnel where the netgraph data is sent directly over UDP or TCP.
> 
> -Jeff


in fact mpd knows how to use ksockets to do just that when it usws tcp 
or udp as a transport mechanism for it's ppp stream.

I have also used ksockets directly and used ipsec to encrypt the outer 
layer..




More information about the freebsd-virtualization mailing list