<div dir="ltr"><div><div><div><div><div>Hi users,<br></div><div><br>I have a GENERIC kernel:<br>DragonFly thinkpad 3.7-DEVELOPMENT DragonFly 5afb5bd-DEVELOPMENT #2: Tue Apr 8 19:04:02 PDT 2014 ben@thinkpad:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64<br>
<br></div>I have if_tun in the kernel.<br>[root@thinkpad /etc]# kldload if_tun<br>kldload: can't load if_tun: module already loaded or in kernel<br><br></div>I try to create a tun device:<br>[root@thinkpad /etc]# ifconfig tun0 create<br>
ifconfig: SIOCIFCREATE2: Invalid argument<br>[root@thinkpad /etc]# ifconfig tun create<br>ifconfig: SIOCIFCREATE2: Invalid argument<br>[root@thinkpad /etc]# <br><br></div>However, I can create a gif and a tap device just fine. I can do `ifconfig tun0 create` on a pfsense (FreeBSD) firewall just fine. <br>
<br></div>There is a device not configured error in the attached kdump output.<br><br></div>Am I missing a step? I have not done this kind of thing before. I would just like to try an ssh -w VPN, and I believe I am following what the tutorials are saying to use for any other BSD system, and I have not found anything in the man pages, or in the rc subroutines that indicate some other method. <br>
<br>Thank you,<br><br>Ben<br><div><div><div><br><br></div></div></div></div>