Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal network Ip numbers also thought VPN instead bypass. #1023

Open
poudenes opened this issue Apr 1, 2019 · 2 comments

Comments

@poudenes
Copy link

commented Apr 1, 2019

Hi All,

tried everything. But when I want access a local IP it cant connect.
Does someone know the right settings to solve this?

This is only when I use OpVPN Core 3 (experimental)

Cheers,
Peter

@schwabe

This comment has been minimized.

Copy link
Owner

commented May 19, 2019

Please include a log of both OpenVPN 2 and OpenVPN 3 core

@ValdikSS

This comment has been minimized.

Copy link

commented Jun 1, 2019

I can confirm this. OpenVPN 3 core routes LAN range into VPN. The same bug was in OpenVPN Connect client some time ago, which I reported.
Check the error:

2019-06-01 07:10:33 F-Droid built and signed version 0.7.7 running on Teclast M89(P8X9) (teclast), Android 7.0 (NRD90M) API 24, ABI arm64-v8a, (Teclast/Teclast/m89_p8x9:7.0/NRD90M/1535618578:user/test-keys)
2019-06-01 07:10:33 Building configuration…
2019-06-01 07:10:33 OpenVPN core 3.git:master(icsopenvpn/v0.7.7-0-gc49d78bf) android arm64 64-bit built on Feb 25 2019 15:39:56
2019-06-01 07:10:33 Copyright (C) 2012-2017 OpenVPN Inc. All rights reserved.
2019-06-01 07:10:34 Frame=512/2048/512 mssfix-ctrl=1250
2019-06-01 07:10:34 UNUSED OPTIONS
1 [verb] [4] 
2 [connect-retry] [2] [300] 
3 [resolv-retry] [60] 
11 [nobind] 
13 [resolv-retry] [infinite] 
14 [verb] [4] 
2019-06-01 07:10:34 Network Status: CONNECTED  to WIFI "xxx"
2019-06-01 07:10:34 Debug state info: CONNECTED  to WIFI "xxx", pause: userPause, shouldbeconnected: true, network: SHOULDBECONNECTED 
2019-06-01 07:10:34 Contacting 46.36.36.167:443 via TCPv4
2019-06-01 07:10:34 Debug state info: CONNECTED  to WIFI "xxx", pause: userPause, shouldbeconnected: true, network: SHOULDBECONNECTED 
2019-06-01 07:10:34 Connecting to [cz1.pvpn.pw]:443 (46.36.36.167) via TCPv4
2019-06-01 07:10:34 Tunnel Options:V4,dev-type tun,link-mtu 1543,tun-mtu 1500,proto TCPv4_CLIENT,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client
2019-06-01 07:10:34 Creds: UsernameEmpty/PasswordEmpty
2019-06-01 07:10:34 Peer Info:
IV_GUI_VER=de.blinkt.openvpn 0.7.7
IV_VER=3.git:master
IV_PLAT=android
IV_NCP=2
IV_TCPNL=1
IV_PROTO=2
IV_AUTO_SESS=1
IV_BS64DL=1
2019-06-01 07:10:34 VERIFY OK: depth=1, /C=RU/ST=RU/L=Internet/O=ProstoVPN.ru/CN=ProstoVPN.ru CA/emailAddress=prostovpn@valdikss.org.ru
2019-06-01 07:10:34 VERIFY OK: depth=0, /CN=cz1.pvpn.pw
2019-06-01 07:10:35 SSL Handshake: TLSv1.2, cipher TLSv1.2 DHE-RSA-AES256-GCM-SHA384, 4096 bit RSA
2019-06-01 07:10:35 Session is ACTIVE
2019-06-01 07:10:35 Sending PUSH_REQUEST to server...
2019-06-01 07:10:36 Sending PUSH_REQUEST to server...
2019-06-01 07:10:38 Sending PUSH_REQUEST to server...
2019-06-01 07:10:38 OPTIONS:
0 [route] [0.0.0.0] [0.0.0.0] [vpn_gateway] 
1 [route-ipv6] [::/0] 
2 [ifconfig-ipv6] [2002:2e24:24a7:2::102e/112] [2002:2e24:24a7:2::1] 
3 [dhcp-option] [DNS] [192.168.102.1] 
4 [route-ipv6] [2000::/3] 
5 [redirect-gateway] [def1] [bypass-dhcp] 
6 [redirect-gateway] [ipv6] 
7 [sndbuf] [786432] 
8 [rcvbuf] [786432] 
9 [tun-ipv6] 
10 [route-gateway] [192.168.102.1] 
11 [topology] [subnet] 
12 [ping] [180] 
13 [ping-restart] [540] 
14 [ifconfig] [192.168.102.48] [255.255.255.0] 
2019-06-01 07:10:38 PROTOCOL OPTIONS:
  cipher: BF-CBC
  digest: SHA1
  compress: NONE
  peer ID: -1
2019-06-01 07:10:38 exception parsing IPv4 route: [route] [192.168.5.217/24] [] [vpn_gateway]  : tun_prop_error: route is not canonical
2019-06-01 07:10:38 exception parsing IPv6 route: [route-ipv6] [fe80::292:faff:fe18:d8b7/64] [] [vpn_gateway]  : option_error: option 'route-ipv6'[3] must be a number
2019-06-01 07:10:38 exception parsing IPv6 route: [route-ipv6] [fdb4:41b7:2395:0:292:faff:fe18:d8b7/64] [] [vpn_gateway]  : option_error: option 'route-ipv6'[3] must be a number
2019-06-01 07:10:38 exception parsing IPv6 route: [route-ipv6] [fdb4:41b7:2395:0:d94e:fc60:f187:248c/64] [] [vpn_gateway]  : option_error: option 'route-ipv6'[3] must be a number
2019-06-01 07:10:38 We should call this sessioncz1.pvpn.pw
2019-06-01 07:10:38 Opening tun interface:
2019-06-01 07:10:38 Local IPv4: 192.168.102.48/24 IPv6: 2002:2e24:24a7:2::102e/112 MTU: 1500
2019-06-01 07:10:38 DNS Server: 192.168.102.1, Domain: null
2019-06-01 07:10:38 Routes: 0.0.0.0/0 ::/0, 2000::/3
2019-06-01 07:10:38 Routes excluded:  
2019-06-01 07:10:38 VpnService routes installed: 0.0.0.0/0 ::/0
2019-06-01 07:10:38 Disallowed VPN apps: 
2019-06-01 07:10:38 Connected via tun
2019-06-01 07:10:38 Per-Key Data Limit: 48000000/48000000
2019-06-01 07:10:38 Debug state info: CONNECTED  to WIFI "xxx", pause: userPause, shouldbeconnected: true, network: SHOULDBECONNECTED 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.