I need it to connect from my Android handy to my router / server at home.
Before changing ISP the connection with dyndns was no problem.
I set up my ipv6 network with prefix delegation, also a vtun interface. It has got its own address- range. The ipv6 prefix is fix.
When I start the openvpn client on my handy it can't reach the server. On the server itself there arrives no connection at the openvpn server.
The only sign on the server is when I captue the traffic on the wan port
Code: Select all
harry@EdgeRouter-4:~$ show interfaces ethernet eth0 capture | grep ac88
10:15:05.398904 IP6 2a02:3031:0:180:a4b3:9d9c:b26a:891.40368 > 2a00:6020:b4a9:ac88::1.1194: UDP, length 14
10:15:05.399114 IP6 2a00:6020:b4a9:ac88::1 > 2a02:3031:0:180:a4b3:9d9c:b26a:891: ICMP6, destination unreachable, unreachable port, 2a00:6020:b4a9:ac88::1 udp port 1194, length 70
10:15:07.410206 IP6 2a02:3031:0:180:a4b3:9d9c:b26a:891.40368 > 2a00:6020:b4a9:ac88::1.1194: UDP, length 14
10:15:07.410383 IP6 2a00:6020:b4a9:ac88::1 > 2a02:3031:0:180:a4b3:9d9c:b26a:891: ICMP6, destination unreachable, unreachable port, 2a00:6020:b4a9:ac88::1 udp port 1194, length 70
10:15:11.412519 IP6 2a02:3031:0:180:a4b3:9d9c:b26a:891.40368 > 2a00:6020:b4a9:ac88::1.1194: UDP, length 14
10:15:11.412726 IP6 2a00:6020:b4a9:ac88::1 > 2a02:3031:0:180:a4b3:9d9c:b26a:891: ICMP6, destination unreachable, unreachable port, 2a00:6020:b4a9:ac88::1 udp port 1194, length 70
As nothing arrives at the openvpn server I think I hab to add a route or someting
My server is an Ubiquiti Edgerouter 4 with openvpn 2.4 installed
On my handy runs openvpn for Android 0.7.22from Arne Schwabe
server config
Code: Select all
server
--dev-type tun
--dev vtun0
--mode server
--tls-server
--topology subnet
--keepalive 10 60
--lport 442
--proto udp6
--ca /config/auth/cacert.pem
--cert /config/auth/server.pem
--key /config/auth/server.key
--dh /config/auth/dh.pem
--management /tmp/openvpn-mgmt-intf unix
--push dhcp-option DNS 10.0.10.1
--server 10.8.0.0 255.255.255.0
--client-config-dir /var/run/openvpn/ccd/vtun0
--push redirect-gateway
--verb 3
--server-ipv6 2a00:6020:b4a9:ac88::/64
Code: Select all
client
dev tun
proto udp6
remote 2a00:6020:b4a9:ac88::1 1194
remote-cert-tls server
resolv-retry infinite
nobind
persist-key
persist-tun
ca /sdcard/Download/openvpnubiquitti/cacert.pem
key /sdcard/Download/openvpnubiquitti/client1.key
cert /sdcard/Download/openvpnubiquitti/client1.pem
verb 3