OpenVPN blocks incoming IPv6 connections

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
pattyland
OpenVpn Newbie
Posts: 2
Joined: Tue Aug 15, 2017 7:07 pm

OpenVPN blocks incoming IPv6 connections

Post by pattyland » Tue Aug 15, 2017 7:13 pm

Hi there!

I'm very new to OpenVPN. I got an IPv6 only internet provider, and because the vpn solution integrated in my router didn't support IPv6 VPN I installed OpenVPN via PiVPN on a Raspberry Pi.

Connection from outside are working very well, but as long the openvpn service is working, I can't connect to the pi from other devices via IPv6, only via IPv4:

Code: Select all

Sorens-Air:~ pattyland$ ssh -v jarvis
OpenSSH_7.4p1, LibreSSL 2.5.0
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to jarvis [2a02:908:4f2:5120:****] port 22.
debug1: connect to address 2a02:908:4f2:5120:**** port 22: Operation timed out
debug1: Connecting to jarvis [192.168.****] port 22.
debug1: Connection established.
Any idea?

I guess this the important part of my config:

Code: Select all

dev tun-ipv6
proto tcp6
port 1194
ca /etc/openvpn/easy-rsa/pki/ca.crt
cert /etc/openvpn/easy-rsa/pki/issued/server.crt
key /etc/openvpn/easy-rsa/pki/private/server.key
dh /etc/openvpn/easy-rsa/pki/dh2048.pem
topology subnet
server 10.8.0.0 255.255.255.0
server-ipv6 2a02:908:4f2:5120::/64
# server and remote endpoints
ifconfig 10.8.0.1 10.8.0.2
# Add route to Client routing table for the OpenVPN Server
push "route 10.8.0.1 255.255.255.255"
# Add route to Client routing table for the OPenVPN Subnet
push "route 10.8.0.0 255.255.255.0"
# your local subnet
push "route 192.168.178.0 255.255.255.0"
# Set your primary domain name server address for clients
push "dhcp-option DNS6 fd00:0:0:0:ca0e:****"
push "dhcp-option DNS 192.168.178.1"
push "dhcp-option DOMAIN fritz.box"
#push "dhcp-option DNS 8.8.4.4"
I'm using version 2.3.4, I know that DNS6 is working from 2.4 upwards. Unfortunately I didn't find 2.4 for arm :(

Greets, pattyland

pattyland
OpenVpn Newbie
Posts: 2
Joined: Tue Aug 15, 2017 7:07 pm

Re: OpenVPN blocks incoming IPv6 connections

Post by pattyland » Sat Sep 09, 2017 9:18 pm

Removing the server-ipv6 option solved my problem!

Post Reply