Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    IPSec - Set specific external interface

    Scheduled Pinned Locked Moved IPsec
    7 Posts 2 Posters 1.7k Views 2 Watching
    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.
    • L
      leacho73
      last edited by

      Hi All,

      I am trying to connect up a new IPSEC VPN on my PFSense box, however when I go to choose the interface, I only see the physical interfaces of the device - my WAN Interface points to a virtual /29 IP address, thus giving me 5 possible external IP's to use for the connection, however these virtual IP's do not show in the dropdown list for interfaces in the IPSEC VPN IKE1 screen - so I am unable to establish the connection out of a specific IP.

      Is this possible?

      Thanks

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

        What type of Virtual IP Addresses did you create when you setup the /29?

        To use them with IPsec or other daemons on the firewall, they would have to be IP Alias VIPs or CARP VIPs. Proxy ARP and 'Other' type VIPs cannot be used for binding services on the firewall.

        https://docs.netgate.com/pfsense/en/latest/firewall/virtual-ip-address-feature-comparison.html

        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!

        L 1 Reply Last reply
        Reply Quote 1
        • L
          leacho73 @jimp
          last edited by

          @jimp Thanks for the prompt reply!

          Yea, I am using 'other' Virtual IP's so that will explain it - not sure I can use Alias or Carp with my PPPoE connection.

          Thanks

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

            You should be able to set them as IP Alias VIPs on Localhost, if nothing else. They don't have to be set on the WAN as long as they are routed to the firewall.

            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!

            L 1 Reply Last reply
            Reply Quote 2
            • L
              leacho73 @jimp
              last edited by

              @jimp Just tried the IP alias, and it messed around with the other range (it just showed the alias as 'IPAddress ()" - would you suggest me deleting the 'other' VirtualIPs and using an IP Alias for each address in the range?

              When trying to connect via the alias I get the following:

              (information text)16[NET] error writing to socket: Can't assign requested address

              Thanks

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

                You shouldn't have two that overlap/conflict. Remove the 'other' type VIPs and make individual IP alias VIPs.

                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!

                L 1 Reply Last reply
                Reply Quote 1
                • L
                  leacho73 @jimp
                  last edited by

                  @jimp Perfect, works a treat! - thank you for your help!!

                  1 Reply Last reply
                  Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better ๐Ÿ’—

                  Register Login
                  • First post
                    Last post
                  Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                  Privacy Policy · Cookie Policy