My routerboard map2n can not connect to my openvpn server
The server os
CentOS 6.5 (x86_64)
open vpn version:
openvpn-2.3.6-1.el6.x86_64
server.conf
port 443
proto tcp
dev tun
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/server.crt
dh /etc/openvpn/easy-rsa/keys/dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status /var/log/openvpn-status.log
log openvpn.log
log-append openvpn.log
verb 3
and add user called vpnuser
then clear all iptables rules disabled selinux just for test
I can use the following config to connect to the server using my android phone and my windows pc
client
dev tun
proto udp
remote xxxxx 443
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client-test.crt
key client-test.key
remote-cert-tls server
tls-auth ta.key 1
comp-lzo
verb 3
I already import the crt and key files into map2n
and here is my config for map2n
0 X name="SG-linode-ovpn" mac-address=02:7E:64:D0:1A:58 max-mtu=1500
connect-to=xxxx port=443 mode=ip user="vpnuser"
password="xxxx" profile=default certificate=cert_2 auth=sha1
cipher=aes256 add-default-route=no
where am I missing?