This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Filter traffic between Virtual Machine

Hi All, 

I need your help to setup my Vmware environment. I have 2 Esxi 5 Servers running several virtual machine in the same Lan(192.168.1.0/24) and I would like to packet filter traffic between them. How can I accomplish this goal with Astaro? 
I have 2 option:

use my external ASG 220 that connect the entire environment to Internet or configure an Astaro Virtual Machine.

I have looked around for a documentation without any luck.

Please Help!

Thank you.


This thread was automatically locked due to age.
  • You can do that with a free Essential Firewall license.  I would think you could accomplish this with a VM with a single NIC.  You would need to change the routing in each VM to have the IP of the Astaro VM be the gateway for traffic to the other VMs.  Then, just make firewall rules that allow the specific traffic you want.

    Did that work?

    Cheers - Bob
  • I will try the solution and let you know.

    Thank you Balfson for your help!
  • Hi Bob, I tried your solution in this way:

    1. Created a Astaro VM with 2 nic, internal(192.168.20.254/24) and external    (192.168.1.254/24)

    2. Created 2 VSwitch, internal-only and external. 
    3. Mapped the Astaro internal nic on internal VSwitch and the external nic VSwitch external
    4. Created 2 VM mapped on internal VSwitch(192.168.20.201,192.168.20.202 both /24 mask and dg:192.168.20.254)

    The 2 ESXi are in HA configuration. So All the VM are on 1 ESXi.

    Both VM comunicates and traffic is not passing through Astaro, only external traffic is dropped.
    [:S]
    Thank you.
  • Hi, 

    4. both of your VMs are on the same subnet, so they will not go through the firewall when connecting to each other.

    Move one of them to a new subnet (create a new VLAN or whatever the equivalent in VMWare is, and connect it to the Astaro Internal interface)

    Barry
  • Hi All,

    I need your help to setup my Vmware environment. I have 2 Esxi 5 Servers running several virtual machine in the same Lan(192.168.1.0/24) and I would like to packet filter traffic between them. How can I accomplish this goal with Astaro?
    I have 2 option:

    use my external ASG 220 that connect the entire environment to Internet or configure an Astaro Virtual Machine.

    I have looked around for a documentation without any luck.

    Please Help!

    Thank you.


    Sounds as you are looking for a bridge. Simpls bridge the local lan to another external interface, which connects to your oher esxi utm bridge interface. You can do firewalling then as long as every ip is unique in the lan ..

    Geschrieben auf meinem Galaxy Nexus mit Astaro.org
  • Hi All, 

    thank you for the answers. I created 2 Vlan on the Vmware VSwitch, created 2 interfaces on the Astaro VM and I am able to do traffic filtering. The bad thing is that to filter traffic from/to each virtual machine, I need to create virtual NIC on Astaro VM. 

    I thought to put VMs in the same Vlan if they need to talk to, otherwise I will create different Vlans.

    How many Vlans does the Astaro VM can handle?


    Thank you.
  • Hi All, 

    any new for maximum Vlan allowed by Astaro VM?

    Thanks
  • Luciano, we will rib you when you ask a question answered in the help or the manual! [;)]

    ... the VLAN number is a 12-bit number, allowing up to 4095 virtual LANs.


    Cheers - Bob
  • Ooops...[:P]

    Thank you Bob