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

    Gif* interface is missing

    Scheduled Pinned Locked Moved IPsec
    2 Posts 1 Posters 1.8k 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.
    • A Offline
      acs
      last edited by

      In some cases when I try to create a site-to-site ipsec tunnel the connection cannot be established because the gif* interface is missing.
      The spd.conf is created automatically, fw rules are ok.
      If I manually create & configure the interface, then everything works like a charm.
      I have tried to comment out the if(isset($tunnel['creategif'])) line in /etc/inc/vpn.inc and added an mwexec("/sbin/ifconfig gif" . $number_of_gifs . " create") after to it. As a result of it, the gif0 device was created but it had no config.
      Do you have any ideas?

      1 Reply Last reply Reply Quote 0
      • A Offline
        acs
        last edited by

        To answer my question: gif interface is not mandatory, but recommended if you are about to debug your ipsec connection.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.