Hi
when i move from local LAN to wireless. the local lan is via a USB ethernet.
i keep getting this
Fri Jun 05 13:09:34 2015 env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
Fri Jun 05 13:09:34 2015 ERROR: Windows route delete ipv6 command failed: returned error code 1
Fri Jun 05 13:09:34 2015 Closing TUN/TAP interface
Fri Jun 05 13:09:34 2015 delete_route_ipv6(2002:ca4a:2000:acd2:4000::/66)
Fri Jun 05 13:09:34 2015 C:\Windows\system32\netsh.exe interface ipv6 delete route 2002:ca4a:2000:acd2:4000::/66 Ethernet 4 fe80::8 store=active
Fri Jun 05 13:09:35 2015 ERROR: Windows route delete ipv6 command failed: returned error code 1
Fri Jun 05 13:09:36 2015 NETSH: C:\Windows\system32\netsh.exe interface ipv6 delete address Ethernet 4 2002:ca4a:2000:acd2:4000::100f store=active
Fri Jun 05 13:09:36 2015 ERROR: netsh command failed: returned error code 1
Fri Jun 05 13:09:40 2015 NETSH: command failed
Fri Jun 05 13:09:40 2015 Exiting due to fatal error
which means openvpn stops running. is there any way to have openvpn keep running. I am running it as a service, unfortunately the service is still marked as running.
I really want it to be an always on setup, keep trying until the service is stopped
client setup
client
dev tun
resolv-retry infinite
nobind
remote-cert-tls server
tls-client
ca client-ca.crt
tls-auth ta.key 1
cryptoapicert "SUBJ: vpn"
comp-lzo
verb 3
keepalive 10 25
auth-retry nointeract
sndbuf 65536
rcvbuf 65536
socket-flags TCP_NODELAY
<connection>
remote vpn.abc.com 2443 udp
</connection>
# Back to UDP
<connection>
remote 2.4.3.2 2443 udp
remote 2.4.3.2 2443 udp
remote 1.1.2.2 2443 udp
connect-retry-max infinite
</connection>
server setup
local 2.4.3.2
server 10.32.23.128 255.255.255.128
server-ipv6 2002:ca4a:2000:2017:C000::/66
port 2443
proto udp
dev tun
topology subnet
ifconfig-pool-persist /etc/openvpn/ip-pool.txt
sndbuf 393216
rcvbuf 393216
push "sndbuf 393216"
push "rcvbuf 393216"
txqueuelen 500
ca /etc/openvpn/ca.crt
cert /etc/openvpn/server.crt
key /etc/openvpn/server.key # This file should be kept secret
dh /etc/openvpn/dh2048.pem
crl-verify /etc/openvpn/client-crl.pem
tls-verify /etc/openvpn/verifyCert.sh
tls-auth /etc/openvpn/ta.key 0 # This file is secret
client-config-dir ccd
push "route-ipv6 2001::/16"
push "route-ipv6 2002::/16"
push "route-ipv6 0::/1"
push "route-ipv6 8000::/1"
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 10.3.2.100"
push "dhcp-option DNS 10.3.2.102"
push "dhcp-option DNS 10.3.6.11"
push "comp-lzo yes"
keepalive 5 15
comp-lzo
max-clients 100
user nobody
group nobody
persist-key
persist-tun
status /etc/openvpn/status-udp.log
verb 3
mute 10
management localhost 2443
script-security 2
client-connect /etc/openvpn/ConnectClientFW.sh
client-disconnect /etc/openvpn/DisConnectClientFW.sh
learn-address /etc/openvpn/set-route.sh