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

install astaro in vm?

I just got a new linksys cisco WRVS4400N router. Is it possible to install astaro in a vm on a pc and use astaro as well? For like the AV, IPS, filtering etc. If possible I'd have no idea how to set it up.

Thanks guys.
Joe


This thread was automatically locked due to age.
Parents
  • Yes, absolutely possible. As virtual solution, we support VMware. You can install VMware server (You can get it for free at vmware.com) on the host PC and then install the Astaro as guest system. Of course you need at least two NICs in the host pc and you have to bridge both to the two necessary vmware-nics (not bridge them together!).

    We also provide a complete vmware-appliance installation that also includes the configuration of the guest system so that you would only have to install vmware-server, copy our virtual appliance, configure the vmware-nics  host-nics bridges and start the guest.

    But of course you can just install from ISO within the guest as usual.
  • configure the vmware-nics  host-nics bridges ...

    Is this documented anywhere?  I've tried several times, but I can't figure out what it is that everyone expects I already know.

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • How come the pc needs 2nics? Only one is used and it connects to the LAN switch. Also everything said I don't understand hehe.
  • Well you only need one real NIC if you are using VLANs.

    You basically need at least two NICs, one for Internal Network and one for WAN.

    These two physical NICs must be bridged into the VM - one bridge for each NIC so that they're seperated from each other. This is a vmware-thingy and documented by VMware.
  • There's no need for 2nics. The pc is LAN not wan.
Reply Children
  • That may be the case. But usually you use the ASG as gateway to the internet. For this, you need at least two NICs, no matter if you use ASG in a VM or on a real box.

    Of course you can setup ASG in a VM on a PC that has only one NIC without using VLANs. But such a setup is neither secure nor useful and you may only use it to click a little through WebAdmin.
  • If you guys noticed, i am not wanting to use ASG for the router. I already have one. I want to put asg in vm on my pc so it can be the IPS, AV, etc.
  • If you guys noticed, i am not wanting to use ASG for the router. I already have one. I want to put asg in vm on my pc so it can be the IPS, AV, etc.


    Should works too.
    PC IP 192.168.50.75
    Astaro PC-side 192.168.50.1
    Astaro Side to Router 192.168.60.1
    DSL Router 192.168.60.5

    Yu need two bridged nics in the vmware.

    I used such a configuration for protecting the system of the children before building a central hardware-astaro.
  • That's confusing. Honestly I need step by step help with this [:(]
  • Okay. Whatever you wanna do with your ASG, it needs at least two interfaces to do something useful. Just trust me on this if you don't use VLANs (which you don't).

    So you want your ASG to protect your PC from the internet? That means, you have to put the ASG in _front_ of your PC, in another subnet. For this, your ASG has to route. For routing, you need at least two subnets, for this you need 2 virtual NICs. See?

    Your packet flow would look like:

    Internet
    |
    WAN Router Public (Public IP)
    WAN Router Internal (192.168.1.254)
    |
    Host PC NIC
     ||
     bridge1: Host PC NIC  VMnet1
     ||
     ASG VMnet1 (192.168.1.x, Gateway 192.168.1.254)
     ASG VMnet2 (192.168.2.254)
     ||
     bridge2: Host  PC NIC  VMnet2
     ||
    Host PC NIC (IP 192.168.2.x, Gateway 192.168.2.254)

    Legend:
    |: Wired connection
    ||: Virtual wired connection

    Yes, this is not an easy-to-understand-and-do setup for beginners.

    Explanation: To secure your PC, it must not be directly reachable by your Internet Router (The packets must flow trough the ASG). Therefore you need two IP subnets and the ASG acts as Security-Router between them. This setup also works for additional PCs connected to your Router, if they use the same protected IP subnet (192.168.2.x and the ASG as gateway), Of course your Host PC has to run all the time then.

    Still, this setup is not 100% secure because your PC is still directly physically reachable from the WAN router. The setup is vulnerable to packet spoofing and there is a bottleneck because all traffic must go through the Host PCs NIC two times. Best setup would be to use the ASG as WAN Router.
  • i still dont get it, [:(]
  • I'm just as lazy as buggs1a - I don't want to have to learn to configure VMWare either!

    Won't one of you VMWare gurus do a quick howto for us?

    Thanks - Bob
    PS Mario, that's a clear explanation of what one needs to do, but I don't know how to configure the bridges, or to configure the Astaro VM as a WAN router.  Also, it's not clear what I need to do to browse/ftp through the Astaro in my laptop.
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • I dont mind learning, just sometimes stuff i dont get.

    look to my newer thread cus i have a new scenereo now kinda sorta. wireless issues and advice needed thread.
  • I'm just as lazy as buggs1a - I don't want to have to learn to configure VMWare either!

    Won't one of you VMWare gurus do a quick howto for us?

    Thanks - Bob
    PS Mario, that's a clear explanation of what one needs to do, but I don't know how to configure the bridges, or to configure the Astaro VM as a WAN router.  Also, it's not clear what I need to do to browse/ftp through the Astaro in my laptop.


    To configure vmware is more than simple. For german users Portal - VMware Forum
    Using the workstation or the server-console while give you access to configure the nics.
    brigded = a seperate virtual system in the same network as the host
    nat = access to the physikal network but own ip-range
    host only = separte system without any access to network or host

    a easy top use configuration is astaro with two virtaul devices one brideg and one host only. A second virtaul system with one host only nic.
    As a first step the astaro and the second system should ping each other (config of astaro blocks ping by default).
    The second challange then will be to open the astaro to forward traffic into the physical network.

    Ralf
  • Im pretty good with VMware these days, and the problem with a howto is that everyones network is going to be different. VMware networking is easy once you understand how it is "binding" to your real nics.

    For example, if you only have one nic in your vmware ASG, and you set the type to "bridged" in the vmware network settings, it will act as a stand alone, dedicated nic just like it was on a machine sitting right next to your pc.
    In this scenario, if your pc has 192.168.0.5 from your linksys box for example, your vmware ASG will perhaps pull 192.168.0.6 from the dhcp server.  This is great for testing/playing with webadmin, and even "bouncing" http proxy traffic off via a browser setting, but since you are not actually gating through the vmware, you wont be able to use and experience packet filtering, etc...

    The other types of nics allow for more flexible and creative work, such as choosing NAT for your virtual nic type. With NAT, your host machine/workstations actual ip (192.168.0.5) in this example, will be the "outside" of the virtual network, and the virtual machine on its NIC will get something random (unless you configure the NAT network range/subnet in the vmware settings) such as 192.168.204.2 say. This means you can then install yet another vmware machine say something like windows xp on the host, and have it use 192.168.204.50 as it's ip, and 192.168.204.2 as it's gateway and from then in the XP machine you can play with features and work with the ASG in a true testlab style setup.

    The hardest way for beginners to setup vmware is to have the virtual machine running asg and then route/gate your host/metal PC through the vmware, that requires a bit more of a tricky setup. If you are new to vmware and the networking side, i would stick with one VMware for ASG, and another for a host pc such as ubuntu, XP etc..and gate that host vmware through your asg vmware.

    It is easy to get an ASG up and running for accessing webadmin using just a bridged adapter on a single nic as outlined above, and going forward from there you will need a little trial and error as you play with the nic types and learn how they impact, relate, and can be reached by the host machine using the various NIC types possible with vmware.

    Good luck, happy learning [:)]