Navigation

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

    Fatal Error on vpn.inc

    IPsec
    2
    3
    2425
    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.
    • D
      djmizt last edited by

      I tried adding another vpn tunnel, when i hit 'apply changes'  this is what happened:

      Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 21907670 bytes) in /etc/inc/vpn.inc on line 291

      This is on version 1.2.3-Release with multiple gateways, multiple BGP peers (full route announcement) and multiple non NAT'ed LAN using VLAN trunking. Platform is x86 class pentium with 1GB of memory and IDE flash drive.

      All tunnels are site-to-site, PSK, AES - SHA1 and DH2 for both stages.

      The first tunnel I added was using the 'WAN' interface IP , the second that started to show the error above was using my other upstream provider interface (WAN2). Both interface are BGP'd. Both tunnels are going to the same far end gateway / LAN but to separate subnets on the local router.

      If I disable all tunnels, apply changes, then enable the secondary upstream tunnel (WAN2) - everything works fine. If after that I try to enable the tunnel using my WAN interface - I get that error above. If I start over again, all tunnels disabled and try to enable the WAN interface tunnel first - i still get that error.

      Hopefully someone can shed a light on this. OpenVPN is not an option as the far end router does not support it. Thanks.

      1 Reply Last reply Reply Quote 0
      • jimp
        jimp Rebel Alliance Developer Netgate last edited by

        I think someone had committed a fix for this a few days ago. Can you update to a new snapshot and try again?

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • D
          djmizt last edited by

          Jimp thanks for the update  ..can you point me where to get the snapshot ..thanks

          1 Reply Last reply Reply Quote 0
          • First post
            Last post