I'm continuing on from over here -> https://www.snbforums.com/threads/custom-firmware-build-for-r9000-r8900-v-1-0-4-74hf.90228/
I downgraded back to firmware version 1.0.2.44HF checked the scripts and they were the older ones.
To have a clean slate I went back and updated firmware back to 1.0.4.74HF.
root@R9000:/$ ps | grep openvpn
7972 root 3176 S /usr/sbin/openvpn /tmp/openvpn/server_tap.conf
7973 root 3216 S /usr/sbin/openvpn /tmp/openvpn/server_tun.conf
17906 root 360 S grep openvpn
The server config file:
root@R9000:/$ cat /tmp/openvpn/server_tun.conf
dh /tmp/openvpn/dh1024.pem
ca /tmp/openvpn/ca.crt
cert /tmp/openvpn/server.crt
key /tmp/openvpn/server.key
server 10.0.1.0 255.255.255.0
dev tun0
proto tcp4
port 12973
keepalive 10 120
verb 3
mute 5
log-append /tmp/openvpn_tun_log
writepid /tmp/openvpnd_tun.pid
status /tmp/openvpnd_tun.status
mtu-disc yes
topology subnet
script-security 2
cipher CHACHA20-POLY1305
data-ciphers CHACHA20-POLY1305:AES-128-GCM:AES-256-GCM:AES-128-CBC:AES-256-CBC
auth sha1
client-to-client
duplicate-cn
compress lz4-v2
push "compress lz4-v2"
# fast-io
push "dhcp-option DNS 10.0.0.1"
client-connect "/tmp/openvpn/push_routing_rule tun"
sndbuf 0
rcvbuf 0
push "sndbuf 0"
push "rcvbuf 0"
I'm not getting the TLS handshake error. Now the connection is just purely timing out. Port scan of the 12973 port that is tun0 device on the router is showing filtered. Port 12974 tap device showing open. I have no problem connecting to the VPN via tap from my laptop. But phone will not connect via tun and the new updated tun version of OPENVPN for windows will not connect either.
I downgraded back to firmware version 1.0.2.44HF checked the scripts and they were the older ones.
To have a clean slate I went back and updated firmware back to 1.0.4.74HF.
root@R9000:/$ ps | grep openvpn
7972 root 3176 S /usr/sbin/openvpn /tmp/openvpn/server_tap.conf
7973 root 3216 S /usr/sbin/openvpn /tmp/openvpn/server_tun.conf
17906 root 360 S grep openvpn
The server config file:
root@R9000:/$ cat /tmp/openvpn/server_tun.conf
dh /tmp/openvpn/dh1024.pem
ca /tmp/openvpn/ca.crt
cert /tmp/openvpn/server.crt
key /tmp/openvpn/server.key
server 10.0.1.0 255.255.255.0
dev tun0
proto tcp4
port 12973
keepalive 10 120
verb 3
mute 5
log-append /tmp/openvpn_tun_log
writepid /tmp/openvpnd_tun.pid
status /tmp/openvpnd_tun.status
mtu-disc yes
topology subnet
script-security 2
cipher CHACHA20-POLY1305
data-ciphers CHACHA20-POLY1305:AES-128-GCM:AES-256-GCM:AES-128-CBC:AES-256-CBC
auth sha1
client-to-client
duplicate-cn
compress lz4-v2
push "compress lz4-v2"
# fast-io
push "dhcp-option DNS 10.0.0.1"
client-connect "/tmp/openvpn/push_routing_rule tun"
sndbuf 0
rcvbuf 0
push "sndbuf 0"
push "rcvbuf 0"
I'm not getting the TLS handshake error. Now the connection is just purely timing out. Port scan of the 12973 port that is tun0 device on the router is showing filtered. Port 12974 tap device showing open. I have no problem connecting to the VPN via tap from my laptop. But phone will not connect via tun and the new updated tun version of OPENVPN for windows will not connect either.