OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • OpenVPN Client Device mode not working correctly
« previous next »
  • Print
Pages: [1]

Author Topic: OpenVPN Client Device mode not working correctly  (Read 2328 times)

Vonguru

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
OpenVPN Client Device mode not working correctly
« 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
Logged

Vonguru

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: OpenVPN Client Device mode not working correctly
« Reply #1 on: January 23, 2018, 10:07:12 am »
Maybe you can only run in tap mode over UDP?
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 1538
  • Karma: 166
    • View Profile
Re: OpenVPN Client Device mode not working correctly
« Reply #2 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...
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • OpenVPN Client Device mode not working correctly
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2