OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: Vonguru on January 23, 2018, 10:02:52 am

Title: OpenVPN Client Device mode not working correctly
Post by: Vonguru on January 23, 2018, 10:02:52 am
Hello,

When I set my device mode in my OpenVPN client to tap, it appears to still be set to tun based on the following error message on the OpenVPN server side: 
Code: [Select]
WARNING: 'dev-type' is used inconsistently, local='dev-type tun', remote='dev-type tap'
Thanks,
Von
Title: Re: OpenVPN Client Device mode not working correctly
Post by: Vonguru on January 23, 2018, 10:07:12 am
Maybe you can only run in tap mode over UDP?
Title: Re: OpenVPN Client Device mode not working correctly
Post by: bartjsmit on January 23, 2018, 07:14:07 pm
You need to have the same tunnel type for both ends; the client needs to request what the server offers.

https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage says: "You must use either tun devices on both ends of the connection or tap devices on both ends. You cannot mix them, as they represent different underlying network layers."

Bart...