Hi~
I am learning how to build a openvpn system,
there are some problem when i try to set a static ip for the client,
openvpn connector always show this error message :
There is a problem in your selection of --ifconfig endpoints [local=10.10.10.12, remote=192.168.0.84]. The local and remote VPN endpoints must exist within the same 255.255.255.252 subnet. This is a limitation of --dev tun when used with the TAP-WIN32 driver. Try 'openvpn --show-valid-subnets' option for more info.
my server.conf :
port 1194
proto udp
dev tun
ca /etc/openvpn/easy-rsa/3.0/pki/ca.crt
cert /etc/openvpn/easy-rsa/3.0/pki/issued/wwwserver.crt
key /etc/openvpn/easy-rsa/3.0/pki/private/wwwserver.key
dh /etc/openvpn/easy-rsa/3.0/pki/dh.pem
server 10.10.10.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 10.10.10.0 255.255.255.0"
client-config-dir /etc/openvpn/ccd
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 168.95.1.1"
push "dhcp-option DNS 8.8.8.8"
client-to-client
keepalive 10 120
tls-auth /etc/openvpn/ta.key 0
cipher AES-256-CBC
comp-lzo
max-clients 50
user nobody
group nobody
persist-key
persist-tun
status openvpn-status.log
log-append openvpn.log
verb 3
mute 20
explicit-exit-notify 1
my ccd conf :
ifconfig-push 10.10.10.12 255.255.255.0
my client conf :
client
dev tun
proto udp
resolv-retry infinite
nobind
remote 192.168.0.84 1194
ns-cert-type server
comp-lzo
ca ca.crt
cert dg02.crt
key dg02.key
tls-auth ta.key 1
keepalive 10 120
persist-key
persist-tun
verb 5
route-delay 2
status dg01-status.log
The problem stuck me for few days... :shock: :shock: :shock:
Can any one help me debug the config~?