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

    Multiple public IPs under VPN

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 2 Posters 280 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.
    • L
      lepofaw156
      last edited by

      red.png

      Hi all, I've hired a VPS with multiple additional public IP addresses and I need the virtual machines I have in my house to have those public IP addresses. The solution that I have come up with to achieve what I want, is to make a site-to-site connection using IPSec or OpenVPN and then the additional public IP addresses make a 1:1 NAT with the local IP addresses of the virtual machines, but I can not make it work. If someone can help me solve the problem or comes up with a better solution to tell me, because I'm going crazy and I don't know what to do anymore. Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        In order for replies from those servers to go back over the tunnel you will need the states to be tagged reply-to unless the tunnel is the default route.
        That usually means the tunnel must be a routed type and the states must be opened by firewall rules on the assigned interface.
        So I'd start out by using OpenVPN and assigning the house side interface.

        Steve

        1 Reply Last reply Reply Quote 0
        • stephenw10S stephenw10 moved this topic from Off-Topic & Non-Support Discussion on
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.