Hi all,
I've been trying to setup a TLS VPN connection between my CentOS server and my Android phone.
However I keep getting the error "tun_prop_error: one of ifconfig or ifconfig-ipv6 must be specified" on the client side, although my server side fully connects.
My server config is as follows:
tls-server
tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384
tls-version-min 1.2
remote-cert-tls client
cipher AES-256-CBC
auth SHA512
ncp-disable
local #MY SERVER IP#
lport 1195
proto udp4
ifconfig 172.168.1.3 172.168.1.4
user nobody
persist-key
persist-tun
dev tun1
mtu-test
syslog
daemon
comp-lzo no
verb 3
<tls-crypt>#TA Key#</tls-crypt>
<cert>#Server Issued certificate#</cert>
<key>#Server Private Key#</key>
<ca>#General CA#</ca>
<dh>#Diffie-hellman pem#</dh>
My client config is as follows:
tls-client
tls-cipher TLS-DHE-RSA-WITH-AES-256-GCM-SHA384
tls-version-min 1.2
remote-cert-tls server
cipher AES-256-CBC
auth SHA512
ncp-disable
remote #MY SERVER IP# 1195
proto udp4
ifconfig 172.168.1.4 172.168.1.3
persist-key
persist-tun
resolv-retry infinite
keepalive 10 60
dev tun
nobind
mtu-test
syslog
daemon
comp-lzo no
verb 3
auth-nocache
<tls-crypt>#TA Key#</tls-crypt>
<cert>#Client Issued certificate#</cert>
<key>#Client Private Key#</key>
<ca>#General CA#</ca>
Thanks 😃
- amageing