OpenVPN 3.0.2 (894) and IOS 12.0.1 Connects but no traffic
I have the same problem.
Client
OpenVPN 3.0.2 (894) on IOS 12.0.1
Config...
dev tun
tls-client
remote 0.0.0.0 1194
redirect-gateway def1
dhcp-option DNS 192.168.0.254
pull
proto udp
script-security 2
reneg-sec 0
cipher AES-256-CBC
auth SHA256
auth-user-pass
<ca>
-----BEGIN CERTIFICATE-----
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
-----END CERTIFICATE-----
</ca>
Log...
2018-11-03 23:02:20 1
2018-11-03 23:02:20 ----- OpenVPN Start -----
OpenVPN core 3.2 ios arm64 64-bit PT_PROXY built on Oct 3 2018 06:35:04
2018-11-03 23:02:20 Frame=512/2048/512 mssfix-ctrl=1250
2018-11-03 23:02:20 UNUSED OPTIONS
1 [tls-client]
5 [pull]
7 [script-security] [2]
2018-11-03 23:02:20 EVENT: RESOLVE
2018-11-03 23:02:20 Contacting [0.0.0.0]:1194/UDP via UDP
2018-11-03 23:02:20 EVENT: WAIT
2018-11-03 23:02:20 Connecting to [0.0.0.0]:1194 (0.0.0.0) via UDPv4
2018-11-03 23:02:20 EVENT: CONNECTING
2018-11-03 23:02:20 Tunnel Options:V4,dev-type tun,link-mtu 1569,tun-mtu 1500,proto UDPv4,cipher AES-256-CBC,auth SHA256,keysize 256,key-method 2,tls-client
2018-11-03 23:02:20 Creds: Username/Password
2018-11-03 23:02:20 Peer Info:
IV_GUI_VER=net.openvpn.connect.ios 3.0.2-894
IV_VER=3.2
IV_PLAT=ios
IV_NCP=2
IV_TCPNL=1
IV_PROTO=2
2018-11-03 23:02:20 VERIFY OK : depth=1
cert. version : 3
serial number : 00:00:00:00:00:00:00:00
issuer name : C=TW, L=Taipei, O=Synology Inc., CN=Synology Inc. CA
subject name : C=TW, L=Taipei, O=Synology Inc., CN=Synology Inc. CA
issued on : 2017-11-20 10:32:46
expires on : 2037-08-07 10:32:46
signed using : RSA with SHA-256
RSA key size : 2048 bits
basic constraints : CA=true
2018-11-03 23:02:20 VERIFY OK : depth=0
cert. version : 1
serial number : 00:00:00:00:00:00:00:00
issuer name : C=TW, L=Taipei, O=Synology Inc., CN=Synology Inc. CA
subject name : C=TW, L=Taipei, O=Synology Inc., CN=synology.com
issued on : 2017-11-20 10:32:46
expires on : 2037-08-07 10:32:46
signed using : RSA with SHA-256
RSA key size : 2048 bits
2018-11-03 23:02:21 SSL Handshake: TLSv1.2/TLS-DHE-RSA-WITH-AES-256-GCM-SHA384
2018-11-03 23:02:21 Session is ACTIVE
2018-11-03 23:02:21 EVENT: GET_CONFIG
2018-11-03 23:02:21 Sending PUSH_REQUEST to server...
2018-11-03 23:02:21 OPTIONS:
0 [redirect-gateway] [def1]
1 [dhcp-option] [DNS] [192.168.0.254]
2 [route] [10.8.0.0] [255.255.255.0]
3 [route] [10.8.0.1]
4 [topology] [net30]
5 [ping] [10]
6 [ping-restart] [60]
7 [ifconfig] [10.8.0.6] [10.8.0.5]
2018-11-03 23:02:21 PROTOCOL OPTIONS:
cipher: AES-256-CBC
digest: SHA256
compress: NONE
peer ID: -1
2018-11-03 23:02:21 EVENT: ASSIGN_IP
2018-11-03 23:02:21 NIP: preparing TUN network settings
2018-11-03 23:02:21 NIP: init TUN network settings with endpoint: 0.0.0.0
2018-11-03 23:02:21 NIP: adding IPv4 address to network settings 10.8.0.6/255.255.255.252
2018-11-03 23:02:21 NIP: adding (included) IPv4 route 10.8.0.4/30
2018-11-03 23:02:21 NIP: adding (included) IPv4 route 10.8.0.0/24
2018-11-03 23:02:21 NIP: adding (included) IPv4 route 10.8.0.1/32
2018-11-03 23:02:21 NIP: redirecting all IPv4 traffic to TUN interface
2018-11-03 23:02:21 NIP: adding DNS 192.168.0.254
2018-11-03 23:02:21 Connected via NetworkExtensionTUN
2018-11-03 23:02:21 EVENT: CONNECTED Username@0.0.0.0:1194 (0.0.0.0) via /UDPv4 on NetworkExtensionTUN/10.8.0.6/ gw=[/]
Server
VPN Server 1.3.9-2770 (last version) on Synology NAS, DSM 6.2.1-23824 Update 1 (last version).
On this side, I don't know where to find any detailed log.
There's one on the VPN Server app, but it just says...
Type Date and Time Protocole Username Event
Information 2018/11/03 23:02:46 OpenVPN Username Disconnected from [0.0.0.0] as [10.8.0.6].
Information 2018/11/03 23:02:21 OpenVPN Username Connected from [0.0.0.0] as [10.8.0.6].
Issue
I can connect but there's no trafic, while the compression is disabled on server and client sides.