Question about NAT



  • 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.


  • Rebel Alliance Global Moderator

    "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?



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


  • Rebel Alliance Global Moderator

    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..



  • VM - Oracle VM Virtual Box.


  • Rebel Alliance Global Moderator

    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?