Keepalive and udp6

This forum is for admins who are looking to build or expand their OpenVPN setup.

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
HiroProtagonist
OpenVpn Newbie
Posts: 2
Joined: Wed Jul 20, 2016 5:11 am

Keepalive and udp6

Post by HiroProtagonist » Wed Jul 20, 2016 5:21 am

I'm working on an ipv6-only openvpn setup. I have it working, but if I enable keepalive no traffic is sent, and the clients keep doing ping-reset.

If I reconfigure to use ipv4 and proto udp, I can see the keepalive messages and the clients stay up.

Is keepalive incompatible with proto udp6?

Is there a workable alternative for ipv6, or do I have to roll my own mechanism?

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: Keepalive and udp6

Post by TinCanTech » Wed Jul 20, 2016 11:35 am

HiroProtagonist wrote:Is keepalive incompatible with proto udp6?
Good question .. and possibly one of the reasons for this point in the wiki:
OpenVPN Wiki wrote:A few things must be met in order to use IPv6:
  • An existing and functional OpenVPN configuration
Which means an existing and functional IPv4 Tunnel ..

See: https://community.openvpn.net/openvpn/wiki/IPv6

In time this will probably change, possibly with the next major release.
Alternatively you could try yourself by using the current git-master version.

HiroProtagonist
OpenVpn Newbie
Posts: 2
Joined: Wed Jul 20, 2016 5:11 am

Re: Keepalive and udp6

Post by HiroProtagonist » Thu Jul 21, 2016 3:24 am

TinCanTech wrote:
  • An existing and functional OpenVPN configuration
Which means an existing and functional IPv4 Tunnel ..

See: https://community.openvpn.net/openvpn/wiki/IPv6[/quote]

Yes I've seen that. Nevertheless an IPv6-only solution is possible, and if an IPv4 tunnel is a pre-requisite, what's the point of proto udp6?

TinCanTech
OpenVPN Protagonist
Posts: 11139
Joined: Fri Jun 03, 2016 1:17 pm

Re: Keepalive and udp6

Post by TinCanTech » Thu Jul 21, 2016 6:00 pm

HiroProtagonist wrote:Is keepalive incompatible with proto udp6?
I do not see --ping6, --ping6-restart or --keep6alive .. may be that is why you currently need an IPv4 tunnel ..

Post Reply