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

    Two WAN IP's to two Internal vpn's

    Scheduled Pinned Locked Moved Routing and Multi WAN
    3 Posts 2 Posters 641 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.
    • B Offline
      brickbr
      last edited by

      This is my first Post, feedback welcome!

      Ok so, I have two static IP addresses from my ISP. Say I have VLAN 10 for my personal computers and I have VLAN 20 for my web/game servers. Can I configure a PFsense box to point public IP1 to VLAN 10 and public IP2 to VLAN 20? I don't want the two networks to communicate behind the pfsense box, but rather I want them to be able to communicate as if I was coming from the outside.

      As for the ISP, I have fiber coming to the house, and one (i cant enable the other ports) copper connection coming from the ONT.

      I have tried connecting two cheap D-Link routers to the ONT (with a switch between the ONT and the two routers) and they where both able to connect to the internet and I was able to access resources behind each router from the other, I just wish to accomplish this with one pfsense box.

      Thanks,

      1 Reply Last reply Reply Quote 0
      • T Offline
        timthetortoise
        last edited by

        Are you saying that you want traffic from each VLAN to head out to the internet via different IP addresses? If this is the case, outbound NAT is what you're after.
        Or are you saying that you want each external IP to go to something in each network? If this is the case, inbound NAT is what you're after.
        I'm not 100% sure on what you're trying to achieve here.

        1 Reply Last reply Reply Quote 0
        • B Offline
          brickbr
          last edited by

          I am trying to do both. I want in-coming connections from each public IP to go to there respective internal VLAN. Also I want outgoing traffic that come from one VLAN to go out there respective public IP.

          Basically I wanted to know if I could do the work of two gateways/firewalls, in one box with one incoming connection.

          Is there any downsides to what I am trying the implement?

          thanks,

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