FreeRADIUS on a tun interface?

Arran Cudbard-Bell a.cudbardb at freeradius.org
Wed Jun 8 22:26:58 CEST 2016


> On 8 Jun 2016, at 16:09, Michael Schwartzkopff <ms at sys4.de> wrote:
> 
> Am Mittwoch, 8. Juni 2016, 16:01:00 schrieben Sie:
>>> On 8 Jun 2016, at 15:53, Michael Schwartzkopff <ms at sys4.de> wrote:
>>> 
>>> Hi,
>>> 
>>> is it possible to run FreeRADIUS on a tun interface?
>> 
>> If you can run tcpdump on an interface, the answer is likely yes.  May need
>> to poke the code to enable that when raw sockets are available though.
>> 
>> Don't know about opening raw sockets on a TUN interface.
> 
> Thanks Arran,
> 
> here is some debug output:
> 
> Wed Jun  8 19:43:41 2016 : Debug:       type = "dhcp"
> Wed Jun  8 19:43:41 2016 : Debug:       ipaddr = 0.0.0.0
> Wed Jun  8 19:43:41 2016 : Debug:       port = 67
> Wed Jun  8 19:43:41 2016 : Error: Failed binding to interface tun0: No
> such device
> Wed Jun  8 19:43:41 2016 : Error: /etc/raddb/sites-enabled/dhcp[47]:
> Error binding to port for 0.0.0.0 port 67

Can tcpdump capture on tun0?

-Arran

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 872 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20160608/d96dfea7/attachment-0001.sig>


More information about the Freeradius-Users mailing list