abraxas1 DD-WRT Novice
Joined: 29 Jan 2010 Posts: 2
|
Posted: Fri Feb 14, 2020 20:10 Post subject: OpenVPN Client on DD_WRT not connecting to Host Hostinger |
|
i can connect to my OpenVPN server on Hostinger just fine using Android app, so that seems to work.
I have my ISP mode/router as 192.168.2.1 and connected to my R7000 router WAN port. router configured as 192.168.1.1
perhaps i have a routing problem.
Hostinger doesn't give clear client config file. needs parsing.
my log from DD-WRT, then the openvpn.conf
Clientlog:
20200214 12:05:08 W WARNING: Using --management on a TCP port WITHOUT passwords is STRONGLY discouraged and considered insecure
20200214 12:05:08 W WARNING: file '/tmp/openvpncl/client.key' is group or others accessible
20200214 12:05:08 W WARNING: file '/tmp/openvpncl/ta.key' is group or others accessible
20200214 12:05:08 W WARNING: file '/tmp/openvpncl/credentials' is group or others accessible
20200214 12:05:08 I OpenVPN 2.4.6 arm-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Sep 23 2018
20200214 12:05:08 I library versions: OpenSSL 1.1.1 11 Sep 2018 LZO 2.09
20200214 12:05:08 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:16
20200214 12:05:08 W NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
20200214 12:05:08 Outgoing Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication
20200214 12:05:08 Incoming Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication
20200214 12:05:08 I TCP/UDP: Preserving recently used remote address: [AF_INET]31.220.xx.xx:1194
20200214 12:05:08 Socket Buffers: R=[180224->360448] S=[180224->360448]
20200214 12:05:08 I UDPv4 link local: (not bound)
20200214 12:05:08 I UDPv4 link remote: [AF_INET]31.220.60.15:1194
20200214 12:05:15 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20200214 12:05:15 D MANAGEMENT: CMD 'state'
20200214 12:05:15 MANAGEMENT: Client disconnected
20200214 12:05:15 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20200214 12:05:15 D MANAGEMENT: CMD 'state'
20200214 12:05:15 MANAGEMENT: Client disconnected
20200214 12:05:15 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20200214 12:05:15 D MANAGEMENT: CMD 'state'
20200214 12:05:15 MANAGEMENT: Client disconnected
20200214 12:05:15 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20200214 12:05:15 D MANAGEMENT: CMD 'status 2'
20200214 12:05:15 MANAGEMENT: Client disconnected
20200214 12:05:15 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20200214 12:05:15 D MANAGEMENT: CMD 'log 500'
19691231 16:00:00
--------------------------------------------------
root@DD-WRT:/tmp/openvpncl# cat openvpn.conf
ca /tmp/openvpncl/ca.crt
cert /tmp/openvpncl/client.crt
key /tmp/openvpncl/client.key
management 127.0.0.1 16
management-log-cache 100
verb 3
mute 3
syslog
writepid /var/run/openvpncl.pid
client
resolv-retry infinite
nobind
persist-key
persist-tun
script-security 2
dev tun1
proto udp4
cipher aes-128-cbc
auth sha256
auth-user-pass /tmp/openvpncl/credentials
remote 31.220.60.15 1194
comp-lzo adaptive
tls-client
tun-mtu 1500
fragment 1300
mssfix
fast-io
tls-auth /tmp/openvpncl/ta.key 1
tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384
redirect-gateway def1
remote-cert-tls server
setenv opt tls-version-min 1.0 or-highest
sndbuf 393216
rcvbuf 393216 |
|