VMWare Image

From Wiki of WFilter NG Firewall
(Difference between revisions)
Jump to: navigation, search
 
(12 intermediate revisions by one user not shown)
Line 3: Line 3:
 
= Introduction =
 
= Introduction =
  
We do provide a pre-built VMWare image of WFilter NG Firewall. In case you want to preview WFilter NG Firewall without installation, you can download this [http://www.wfilterros.com/downloads/WFilter_NGF.zip vmware image of WFilter NG Firewall].
+
We do provide a pre-built VMWare image of WFilter NG Firewall. In case you want to preview WFilter NG Firewall without installation, you can download this [http://www.wfilterros.com/downloads/WFilter_ngf_en.zip vmware image of WFilter NG Firewall].
  
 +
Please note:
 +
* This vm has 1GB RAM and 2GB disk. Only for small networks(less than 50 clients) or features preview.
 +
* Two bridged adapters, one has no IP assigned(WAN), another is assigned with IP 192.168.10.1(LAN interface, DHCP enabled).
 +
* Since these two bridged adapters are based on same physical adapter. You can only get half thoughput of the physical adapter.
 +
* You also can build the virtual machine by yourself, please check: [http://wiki.wfilterros.com/NewUser Install WFilter NG Firewall in a Virtual Machine]
  
 
= Import Steps =
 
= Import Steps =
 
* Download the zip file, unzip it into a directory.
 
* Download the zip file, unzip it into a directory.
 
* In VMWare workstation, click "Open a Virtual Machine" to open "WFilter NG Firewall.vmx".
 
* In VMWare workstation, click "Open a Virtual Machine" to open "WFilter NG Firewall.vmx".
[[File:vmware_image1.png|800px]]
+
[[File:vmware_image1.png|600px]]
 
* Review the virtual machine settings.
 
* Review the virtual machine settings.
[[File:vmware_image2.png|800px]]
+
[[File:vmware_image2.png|600px]]
* In "Virtual Network Editor", disable DHCP for the hostonly VMnet.(Because WFilter NGF already has a DHCP server.)
+
[[File:vmware_image0.png|800px]]
+
 
* Boot this virtual machine, choose "I copied it".
 
* Boot this virtual machine, choose "I copied it".
 
[[File:vmware_image3.png|450px]]
 
[[File:vmware_image3.png|450px]]
 
* Successfully booted.
 
* Successfully booted.
[[File:vmware_image4.png|800px]]
+
[[File:vmware_image4.png|600px]]
  
= Access Web-UI =
+
= Setup =
 +
* Set a LAN pc to static IP address "192.168.10.2", mask "255.255.255.0", gateway "192.168.10.1".
 +
* Type http://192.168.10.1 in your browser to open web UI.
  
This virtual machine has two adapters, the bridged adapter is for external network(DHCP), the hostonly adapter is for internal network(192.168.10.x).
+
[[File:vmware_image5.png|600px]]
  
To open WFilter web UI, you need to setup another virtual machine(either windows or linux), connected to the hostonly adapter with DHCP enabled(obtain ip address automatically).
+
* Set a valid static IP for WAN interface and a correct gateway.
  
This client vm will be assigned with IP address "192.168.10.x". And you can access WFilter web-UI at: http://192.168.10.1
+
DO NOT choose "Bridge" here because this vm can not act as a network bridge.
  
= Filter LAN clients =
+
[[File:vmware_image6.png|600px]]
  
Since the internal network of pre-built vm is on the hostonly adapter, you can only monitor and filter hostonly clients.
+
= Usage =
 +
Please note:
 +
* This vm has two bridged adapters, one has no IP assigned(WAN), another is assigned with IP 192.168.10.1(LAN interface, DHCP enabled).
 +
* To manage other LAN clients, you need to modify client device gateway to WFilter NGF("192.168.10.1"). There are two solutions:
 +
** Static IP: modify clients IP to 192.168.10.x, with gateway 192.168.10.1.
 +
** Dynamic IP: since WFilter already has DHCP enabled, you only need to shutdown your existing DHCP. So new connected clients will take WFilter NGF as gateway.
  
To filter LAN clients, please follow below steps:
+
= Extension =
* Modify vm settings, change the "hostonly" adapter to "bridged".
+
 
* Disable the current DHCP server of your network. (Let WFilter acts as the DHCP server)
+
The 2GB disk can only record usage and reports for 2-3 days(100 clients). You can extend the vm for more clients, please check: [[Installation_of_WFilter_ROS|Hardware Requirements]]
* LAN clients will be assigned with ip address "192.168.10.x", and controlled by WFilter NGF.
+
Please follow below steps to add a harddisk:
 +
 
 +
* Add a 100GB harddisk.
 +
[[File:vmware_image7.png|600px]]
 +
 
 +
[[File:vmware_image8.png|600px]]
 +
 
 +
* Add partition for this new disk.
 +
 
 +
[[File:vmware_image9.png|600px]]
 +
 
 +
* Set this partition for data storage.
 +
 
 +
[[File:vmware_image10.png|600px]]
 +
 
 +
* Apply the settings then you can record usage and report for more days.
 +
 
 +
[[Category:Installation]]
 +
 
 +
= Links =
 +
* [https://www.youtube.com/watch?v=06piJPA6RB8 Youtube: How to setup a virtual firewall for your network?]

Latest revision as of 15:51, 29 June 2017


Contents

[edit] 1 Introduction

We do provide a pre-built VMWare image of WFilter NG Firewall. In case you want to preview WFilter NG Firewall without installation, you can download this vmware image of WFilter NG Firewall.

Please note:

  • This vm has 1GB RAM and 2GB disk. Only for small networks(less than 50 clients) or features preview.
  • Two bridged adapters, one has no IP assigned(WAN), another is assigned with IP 192.168.10.1(LAN interface, DHCP enabled).
  • Since these two bridged adapters are based on same physical adapter. You can only get half thoughput of the physical adapter.
  • You also can build the virtual machine by yourself, please check: Install WFilter NG Firewall in a Virtual Machine

[edit] 2 Import Steps

  • Download the zip file, unzip it into a directory.
  • In VMWare workstation, click "Open a Virtual Machine" to open "WFilter NG Firewall.vmx".

Vmware image1.png

  • Review the virtual machine settings.

Vmware image2.png

  • Boot this virtual machine, choose "I copied it".

Vmware image3.png

  • Successfully booted.

Vmware image4.png

[edit] 3 Setup

  • Set a LAN pc to static IP address "192.168.10.2", mask "255.255.255.0", gateway "192.168.10.1".
  • Type http://192.168.10.1 in your browser to open web UI.

Vmware image5.png

  • Set a valid static IP for WAN interface and a correct gateway.

DO NOT choose "Bridge" here because this vm can not act as a network bridge.

Vmware image6.png

[edit] 4 Usage

Please note:

  • This vm has two bridged adapters, one has no IP assigned(WAN), another is assigned with IP 192.168.10.1(LAN interface, DHCP enabled).
  • To manage other LAN clients, you need to modify client device gateway to WFilter NGF("192.168.10.1"). There are two solutions:
    • Static IP: modify clients IP to 192.168.10.x, with gateway 192.168.10.1.
    • Dynamic IP: since WFilter already has DHCP enabled, you only need to shutdown your existing DHCP. So new connected clients will take WFilter NGF as gateway.

[edit] 5 Extension

The 2GB disk can only record usage and reports for 2-3 days(100 clients). You can extend the vm for more clients, please check: Hardware Requirements Please follow below steps to add a harddisk:

  • Add a 100GB harddisk.

Vmware image7.png

Vmware image8.png

  • Add partition for this new disk.

Vmware image9.png

  • Set this partition for data storage.

Vmware image10.png

  • Apply the settings then you can record usage and report for more days.

[edit] 6 Links

Personal tools
Namespaces

Variants
Actions
Navigation
Tools