본문으로 바로가기

openVPN 접속문제

category Win Style/WinAll 2019. 6. 3. 09:00
반응형

윈도우 19H1 사용중 발생하고 있다.

아이디 패스로 접속시도하면 접속 실패가  뜬다. 끝에 로그는

"there are no tap-windows adapters on this system"

 

아래는 복잡하므로 이렇게 하도록 하자.

 

======= 간단한 방법 2019.07================

 - 시작메뉴 TAP-Windows 폴더

openVpn을 설시하면 이 가상 어댑터를 관리하는 Tap-windows가 같이 설치된다.

윈도우에서 이 어댑터가 문제가 생겨서 접속실패가 되므로 초기화해주면 된다.

 

1. Delete All Tap Virtual ethernet adapters 눌러서 삭제

2. Add a new Tap Virtual ethernet adapters 눌러서 새로 생성

 

============================================

 

또는 "이미 윈도우에서 사용중이다"

라는 로그가 나온다. 

 

그래서 찾아보니,

 

https://www.privateinternetaccess.com/forum/discussion/16864/solution-windows-10-build-10049-breaks-openvpn-there-are-no-tap-windows-adapters-on-this-system

 

(Solution)Windows 10 build 10049 breaks openvpn: "There are no TAP-Windows adapters on this system"

Appears that build 10049 breaks the PIA client.  I see what seems to be the solution here.Sadly, I'm not savy on regedit.

www.privateinternetaccess.com

요런 해결책이 있다. 일단은 해둔다. 

 

This is how i got it to work (OpenVPN GUI and Private Internet Access (PIA). No rebooting required:

  1. uninstall all tap adapters in device manager>network adapters
  2. install openvpn with default options
    https://swupdate.openvpn.org/community/releases/openvpn-install-2.3.6-I603-x86_64.exe
  3. add string value/data ComponentId/tap0901 (REG_SZ) with regedit
    value name=ComponentId
    value data=tap0901
    to key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}\[0001]
    where [0001] stands for the instance on your system in which you find the REG_SZ string with
    value name=ProductName
    value data=TAP-Windows Adapter V9
  4. disable and enable TAP-Windows Adapter V9 in device manager>network adapters to reinitialize the driver with the newly added ComponentId

이런 내용이다.

현재의 openVpn버전은 2.4.7 이며, 윈도우10용이 분리되어있다.

https://swupdate.openvpn.org/community/releases/openvpn-install-2.4.7-I607-Win10.exe

불러오는 중입니다...

 

https://openvpn.net/community-downloads/

 

Community Downloads | OpenVPN

Visit this page to download the latest version of the open-souce VPN, OpenVPN.

openvpn.net

 

이전버전은 분리안되었던것 같던데,, 버전문제인지도 모르겠다만,,

 

아무튼 2.4.7 버전을 설치하고 잘 사용하다가 이런것 같기도 하다.

 

해결책이라 제시한 저 위 순서대로 해보라.

 

1. 프로그램 및 기능에서 tap adapter 9 제거

2. openvpn제거 및 재설치

3. 레지 추가

해당 레지 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}\0001

 

우클릭 만들기 - 키 : tap0901 

우측에서 새로만들기 : 문자열값 (reg_sz) : ProductName 

값데이타 : TAP-Windows Adapter V9

 

 

만든 레지파일 첨부한다.

tap0901.reg
0.00MB

 

4. 장치관리자에서 TAP-Windows Adapter V9 사용안함 -> 사용함으로 해서 재초기화해준다.

또는 네트워크 연결에 가서 사용안함 -> 사용함

으로 해도 된다.

 

 

반응형