• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

IPv4/IPv6 mixed IPSEC configuration broken

Scheduled Pinned Locked Moved IPsec
2 Posts 2 Posters 963 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    MrMoo
    last edited by Jan 24, 2015, 9:11 PM

    I would not be surprised for first Strongswan release it is not supported but the interface breaks under certain circumstances, namely setup an IPv4 transport, change to "Tunnel IPv6" and save.

    Warning: inet_pton(): Unrecognized address in /etc/inc/util.inc on line 934 Warning: inet_pton(): Unrecognized address in /etc/inc/util.inc on line 934 
    Warning: inet_pton(): Unrecognized address in /etc/inc/util.inc on line 934 Warning: inet_pton(): Unrecognized address in /etc/inc/util.inc on line 934
    

    And this interesting set of error messages from the UI which appear a bit confused:

    The following input errors were detected:

    A valid local network IPv4 address must be specified or you need to change Mode to IPv6
    A valid remote network IPv4 address must be specified or you need to change Mode to IPv6

    As a quirk you can provide a hostname which resolves to IPv6 and configure for IPv4 tunneling without the complaints.

    1 Reply Last reply Reply Quote 0
    • R
      razzfazz
      last edited by Jan 24, 2015, 9:58 PM

      @MrMoo:

      As a quirk you can provide a hostname which resolves to IPv6 and configure for IPv4 tunneling without the complaints.

      Worse yet, I've had a v4 tunnel try (and fail, of course) to use a v6 address for a hostname that resolves for both.

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received