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

    Question about NAT

    Scheduled Pinned Locked Moved NAT
    6 Posts 2 Posters 729 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.
    • H
      hristo2992
      last edited by

      I have a Linux server with pfsense and NAT.The server is connected with WAN(Internet) and 3 internal networks-LAN- 192.168.10.0/24 , opt1- 192.168.11.0/24 and opt 2 - 192.168.12.0/24.
      I need to configure NAT to have Internet access from a client PC from one of the internal networks.
      I am running 3 virtual machines:
      1. pfsense as a VM on a Linux server
      2. Windows server
      3. Windows client
      VM-Oracle VM Virtual Box.
      Please, help me.Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        "I have a Linux server with pfsense and NAT.The server is connected with WAN(Internet) and 3 internal networks"

        Huh?  Out of the box pfsense will will nat any network behind it to whatever pfsense wan IP is..  Lan would have any any rules, but if you added more networks you would have to add the firewall rules to allow the traffic you want from that network.  Unless you messed with the outbound nat it will auto nat any network you create behind pfsense be it directly on a interface or a vlan..

        Sounds like to me you have a linux server running pfsense??  Are you running pfsense as a VM on a linux server?

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

        1 Reply Last reply Reply Quote 0
        • H
          hristo2992
          last edited by

          I am running 3 virtual machines:
          1. pfsense as a VM on a Linux server
          2. Windows server
          3. Windows client

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            I run pfsense on vm as well, but esxi.. How you have it setup as VM have no idea.. What VM solution are you using on linux?

            Again pfsense will nat any network behind it.. To your problem with your VM pfsense.. What are you using on this linux box? OpenVZ, KVM, Xen?  Linux-Vserver, VirtualBox, Bochs?  There are lots of ways to run VMs on linux.. Your going to need to provide way more details if you expect any help - sorry..

            Your thread belongs in the VM section.. https://forum.pfsense.org/index.php?board=37.0

            Ask a mod to move it..

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

            1 Reply Last reply Reply Quote 0
            • H
              hristo2992
              last edited by

              VM - Oracle VM Virtual Box.

              1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by

                So what nics does this HOST have, and how are you doing the opt interfaces in pfsense - are they vlans in pfsense sitting on the 1 vmnic? Which is bridge to what physical nic?  So you have multiple physical networks that match up to these 3 networks..  Or is this all going to be virtual networks on the host?

                Your going to have to give some more info dude!!!

                Virtualbox you can setup bridge to your physical nic, or they can be natted etc..  They can be host only, etc.. So what networks do you have setup in VB?  How does your physical network attach to your VM Host?

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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