VMWare Image

From Wiki of WFilter NG Firewall
(Difference between revisions)
Jump to: navigation, search
m
Line 22: Line 22:
 
[[File:vmware_image4.png|800px]]
 
[[File:vmware_image4.png|800px]]
  
= 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 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
+
[[File:vmware_image6.png|600px]]
  
= Filter LAN 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.
  
Since internal network of the pre-built vm is on the hostonly adapter, you can only monitor and filter hostonly clients by default. It's enough for preview and testing in most case.
+
= Extension =
  
If you want to filter LAN clients, please check below steps:
+
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]]
* Modify vm settings, change the "hostonly" adapter to "bridged".
+
Please follow below steps to add a harddisk:
* Disable the current DHCP server of your network. (Let WFilter acts as the DHCP server)
+
 
* LAN clients will be assigned with ip address "192.168.10.x", and controlled by WFilter NGF.
+
* 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]]

Revision as of 17:02, 9 June 2017


Contents

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) and 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

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

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

Vmware image6.png

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.

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

Personal tools
Namespaces

Variants
Actions
Navigation
Tools