Could not determine IPv4/IPv6 protocol

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
vinayks76
OpenVpn Newbie
Posts: 4
Joined: Sun Apr 15, 2018 11:35 am

Could not determine IPv4/IPv6 protocol

Post by vinayks76 » Sun Apr 15, 2018 11:39 am

I am trying to setup a VPN Server for an Educational Institution in Bangalore(India).
I am getting this kind of error.
Could not determine IPv4/IPv6 protocol.
Kindly anyone help me to how trouble shoot this error.
I am using pfsense 2.4.4 ,my server port 1194 is open. Both internal and external.

Kindly advice

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

Re: Could not determine IPv4/IPv6 protocol

Post by TinCanTech » Sun Apr 15, 2018 11:56 am

It is not an error and it falls back to IPv4.

You can explicitly chose protocol by --proto option
Where option can be: udp, udp4 or udp6 .. or tcp, tcp4 or tcp6

The manual has this:
The Manual wrote:proto
indicates the protocol to use when connecting with the
remote, and may be "tcp" or "udp".

For forcing IPv4 or IPv6 connection suffix tcp or udp
with 4/6 like udp4/udp6/tcp4/tcp6.

vinayks76
OpenVpn Newbie
Posts: 4
Joined: Sun Apr 15, 2018 11:35 am

Re: Could not determine IPv4/IPv6 protocol

Post by vinayks76 » Sun Apr 15, 2018 2:19 pm

dear TinCanTech
I am newbie to pfsense and open Openvpn. Can you please elaborate where should i make these changes. I am really be thank full to you.

vinayks76
OpenVpn Newbie
Posts: 4
Joined: Sun Apr 15, 2018 11:35 am

Re: Could not determine IPv4/IPv6 protocol

Post by vinayks76 » Sun Apr 15, 2018 2:37 pm

Could not determine IPv4/IPv6 protocol. Using AF_INET6

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

Re: Could not determine IPv4/IPv6 protocol

Post by TinCanTech » Sun Apr 15, 2018 8:43 pm

It is not an error and it falls back to IPv4 .. but in your case it is falling back to v6

We do not support pfSense .. they have their own forum.

If you want to learn about openvpn try the howto .. it is very easy to find ..

If you are still stuck then please read this:
HOWTO: Request Help ! {2}

vinayks76
OpenVpn Newbie
Posts: 4
Joined: Sun Apr 15, 2018 11:35 am

Re: Could not determine IPv4/IPv6 protocol

Post by vinayks76 » Mon Apr 16, 2018 3:05 am

Thanks a lot for your valuable time...

Post Reply