현재 공유기 vpn서버를 구성해 서버에서 vpn 접속하는건 성공했습니다. 그런데 여기서 컴퓨터를 vpn에 연결할려고 하는데 접속이 안됩니다. 지금 해둔 설정들을 말씀드리자면
- 공유기는 Mesh망 설정(Tp-link Deco X50 2대)
- 메인(거실-벽랜과 연결)과 서브(방-무선으로 메인에서 인터넷 가져다사용) 구성중이고 서브에서 랜선으로 컴퓨터에 연결
- 공유기에서 만든 openvpn 서버는 우분투 서버에 연결 가능(확인완료)
- 서브에서 랜선으로 인터넷을 받는 컴퓨터에서 vpn 연결 불가(윈도우 11)
- 공유기에서 구성파일 다운로드해서 OpenVPN GUI에 연결시도했는데 안됨(우분투 서버는 구성파일 적용했을때 작동됨.)
vpn설정은
tcp에 포트는 따로설정했고
서브넷마스크는 /29 vpn 서버 연결은 딱 우분투 서버 하나 했습니다.
2023-09-16 15:15:51 WARNING: Compression for receiving enabled. Compression has been used in the past to break encryption. Sent packets are not compressed unless "allow-compression yes" is also set.
2023-09-16 15:15:51 DEPRECATED OPTION: --cipher set to 'AES-128-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305). OpenVPN ignores --cipher for cipher negotiations.
2023-09-16 15:15:51 OpenVPN 2.6.6 [git:v2.6.6/c9540130121bfc21] Windows-MSVC [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] [DCO] built on Aug 15 2023
2023-09-16 15:15:51 Windows version 10.0 (Windows 10 or greater), amd64 executable
2023-09-16 15:15:51 library versions: OpenSSL 3.1.2 1 Aug 2023, LZO 2.10
2023-09-16 15:15:51 DCO version: v0
2023-09-16 15:15:52 TCP/UDP: Preserving recently used remote address: [AF_INET](vpn주소)
2023-09-16 15:15:52 Attempting to establish TCP connection with [AF_INET](vpn주소)
2023-09-16 15:15:52 TCP connection established with [AF_INET](vpn주소)
2023-09-16 15:15:52 TCPv4_CLIENT link local: (not bound)
2023-09-16 15:15:52 TCPv4_CLIENT link remote: [AF_INET](vpn주소)
2023-09-16 15:15:52 [server] Peer Connection Initiated with [AF_INET](원래 IP)
2023-09-16 15:15:53 OpenVPN ROUTE: OpenVPN needs a gateway parameter for a --route option and no default was specified by either --route-gateway or --ifconfig options
2023-09-16 15:15:53 OpenVPN ROUTE: failed to parse/resolve route for host/network: (vpn 서브넷)
2023-09-16 15:15:53 OpenVPN ROUTE: OpenVPN needs a gateway parameter for a --route option and no default was specified by either --route-gateway or --ifconfig options
2023-09-16 15:15:53 OpenVPN ROUTE: failed to parse/resolve route for host/network: (vpn 서브넷)
2023-09-16 15:15:53 OpenVPN ROUTE: OpenVPN needs a gateway parameter for a --route option and no default was specified by either --route-gateway or --ifconfig options
2023-09-16 15:15:53 OpenVPN ROUTE: failed to parse/resolve route for host/network: 192.168.68.0(원래 IP 주소 게이트웨이)
2023-09-16 15:15:53 OpenVPN ROUTE: OpenVPN needs a gateway parameter for a --route option and no default was specified by either --route-gateway or --ifconfig options
2023-09-16 15:15:53 OpenVPN ROUTE: failed to parse/resolve route for host/network: 0.0.0.0
2023-09-16 15:15:53 open_tun
2023-09-16 15:15:53 tap-windows6 device [OpenVPN TAP-Windows6] opened
2023-09-16 15:15:53 ERROR: --dev tun also requires --ifconfig
2023-09-16 15:15:53 Exiting due to fatal error
로그에 vpn주소랑 원래 ip주소만 가렸고 나머지는 전부 원문그대롭니다.
사진은 제 인터넷 연결상황
불러오는 중...