Navigation

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

    Trying to setup communication between 2 subnets

    Routing and Multi WAN
    2
    2
    1010
    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.
    • G
      GLADoS11 last edited by

      Hi all, first time poster so please forgive me if this is a dumb question.

      I am running a few VMs for an Active Directory lab and need to get them to communicate with each other to simulate different sites. My current setup is this:

      pfSense VM 1:

      WAN link = 192.168.1.9/24 (my home network subnet)
      LAN link = 10.10.50.3/24 (my internal LAN that assigns IPs to my test virtual machines)

      pfSense VM 2:

      WAN link = 192.168.1.12/24 (also on my home network)
      LAN link = 10.20.50.3/24 (internal LAN that assigns IPs to a different set of VMs)

      I need to setup communication between these 2 pfsense machines so that I can closely simulate a real environment with one site on another subnet than the main site. What is the easiest way to go about doing this? Thanks very much in advance.

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis last edited by

        If you want to simulate having servers available on what looks like the outside "public" internet, then just port forward from the WAN IP on each VM into the server/s. Then add some host overrides in DNS to specify names that point to the WAN IP where the server sits behind. Then you can access the "remote" server by name, which goes to the WAN IP and is forwarded in to the test server.
        If you want to test a private site-to-site VPN, then simply setup an OpenVPN site-to-site link with OpenVPN server listening on WAN1 192.168.1.9 and OpenVPN client coming from WAN2 192.168.1.12 - pick some private IP tunnel network for the VPN hop. Put a pass rule on WAN1 to let the client in to the port the OpenVPN server is listening on… Then traffic can flow back and forth as if between offices.

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

        Products

        • Platform Overview
        • TNSR
        • pfSense
        • Appliances

        Services

        • Training
        • Professional Services

        Support

        • Subscription Plans
        • Contact Support
        • Product Lifecycle
        • Documentation

        News

        • Media Coverage
        • Press
        • Events

        Resources

        • Blog
        • FAQ
        • Find a Partner
        • Resource Library
        • Security Information

        Company

        • About Us
        • Careers
        • Partners
        • Contact Us
        • Legal
        Our Mission

        We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

        Subscribe to our Newsletter

        Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

        © 2021 Rubicon Communications, LLC | Privacy Policy