[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] OpenBSD TAP0 device


  • Subject: Re: [Openvpn-users] OpenBSD TAP0 device
  • From: Jelle Posthuma <jelle.posthuma@xxxxxxxxx>
  • Date: Mon, 17 Jan 2005 12:56:52 +0100

Bob DeBolt wrote:
Greets


OpenBSD 3.6 stable - OpenVPN 2.0 rc6


OpenBSD comes with layer 2 capability and it is switched on with a simple ifconifg command, however, I'm having a problem getting OVPN attaching to layer 2 without the "named" TAP interface.
I had hoped that OpenVPN would be able to detect the layer 2 capability.


I had a patch supplied to me a couple of days ago for the OBSD openvpn
1.6 port
which applied correctly but still comes up seeking the TAP device as
defined in the config. TUN0 of course works fine.


Perhaps it can and I am missing a config setting. Anyone else using
OpenBSD
3.6 as an OpenVPN server that can help or set me straight. The
preference is to use OpenVPN 2rc6.


Bob

You can use the "dev-type" directive to ensure that OpenVPN will use your tap style tun0 device correctly. I'm succesfully using OpenBSD 3.6 and OpenVPN 2.0rc6 for an ethernet bridge VPN setup at the moment using this config:


dev             tun0
dev-type        tap
client-to-client
mode            server
tls-auth        hmac.pem
tls-server
dh              dh1024.pem
pkcs12          waggie.p12
crl-verify      crl.pem
ifconfig-pool   192.168.44.220 192.168.44.230 255.255.255.0


Jelle


------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users