Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 2008 12:50:37 +0200
From:      Nikos Vassiliadis <nvass@teledomenet.gr>
To:        freebsd-net@freebsd.org
Subject:   ng_bridge + ng_ksocket
Message-ID:  <200812111250.38046.nvass@teledomenet.gr>

next in thread | raw e-mail | index | archive | help
Hello,

 I would like to create an ethernet over UDP tunnel. For my
purposes, using ng_bridge and ng_ksocket seem fine. The
problem is that the peer address/port is not known, since
it will be behind a NAT device and will have a dynamically
assigned IP address. In userspace I would use something like
recvfrom() to get the peer address. I don't know what to do
for ngctl and ng_ksocket. Any suggestions? Is this doable?
Is there something I can do to circumvent the problem?

Thanks in advance, Nikos



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