VirtualBoxInstallation

From Wiki of WFilter NG Firewall
(Difference between revisions)
Jump to: navigation, search
(Steps to install WFilterROS in Virtualbox)
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:Install WFilterROS in Virtualbox}}
+
{{DISPLAYTITLE:Install WFilter NG Firewall in Virtualbox}}
  
 
= Introduction =
 
= Introduction =
  
You're recommended to install WFilterROS in virtual machines only for preview testing. Please also check:
+
You're recommended to install WFilter NG Firewall in virtual machines only for preview testing. Please also check:
* WFilterROS in a virtual machine shall work in "gateway" mode.
+
* WFilter NG Firewall in a virtual machine shall work in "gateway" mode.
* To test a client, you need to modify this client's network settings to use WFilerROS as its gateway.
+
* To test a client, you need to modify this client's network settings to use WFiler NG Firewall as its gateway.
 
* Please note: in a vm, since both outgoing and incoming traffic use a same cable, suppose your network connection is 100Mb, you only can get a maximum bandwidth of 50Mb.
 
* Please note: in a vm, since both outgoing and incoming traffic use a same cable, suppose your network connection is 100Mb, you only can get a maximum bandwidth of 50Mb.
* To install WFilterROS in a physical PC, please check: [[Installation of WFilter ROS|WFilterROS Installation Steps]]
+
* To install WFilter NG Firewall in a physical PC, please check: [[Installation of WFilter ROS|WFilter NG Firewall Installation Steps]]
  
This document demonstrates certain steps to setup a virtualbox virtual machine running WFilterROS.
+
This document demonstrates certain steps to setup a virtualbox virtual machine running WFilter NG Firewall.
  
= Steps to install WFilterROS in Virtualbox =
+
= Steps to install WFilter NG Firewall in Virtualbox =
 
* New a virtual machine, choose "Other Linux 32bit"
 
* New a virtual machine, choose "Other Linux 32bit"
 
[[File:virtualbox1.png|450px]]
 
[[File:virtualbox1.png|450px]]
 
* The harddisk settings:
 
* The harddisk settings:
[[File:virtualbox2.png|450px]]
+
[[File:virtualbox2.png|600px]]
 
* Two bridged network adapters:
 
* Two bridged network adapters:
[[File:virtualbox3.png|450px]]
+
[[File:virtualbox3.png|600px]]
  
[[File:virtualbox4.png|450px]]
+
[[File:virtualbox4.png|600px]]
 
* The final virtual machine settings:
 
* The final virtual machine settings:
[[File:virtualbox5.png|750px]]
+
[[File:virtualbox5.png|900px]]
* Boot the virtual machine, chooose WFilterROS iso as the startup disk:
+
* Boot the virtual machine, chooose WFilter NG Firewall iso as the startup disk:
 
[[File:virtualbox6.png|600px]]
 
[[File:virtualbox6.png|600px]]
  
* Now you may start the virtual machine and begin the installation, please also check [[Installation of WFilter ROS#Installation Steps|WFilterROS Installation Steps]]
+
* Now you may start the virtual machine and begin the installation, please also check [[Installation of WFilter ROS#Installation Steps|WFilter NG Firewall Installation Steps]]
  
 
== Configuration ==
 
== Configuration ==
  
Add an 192.168.10.x ip in your host pc, then you can access webUI of WFilterROS via this url: http://192.168.10.1 . Please note:
+
Add an 192.168.10.x ip in your host pc, then you can access webUI of WFilter NG Firewall via this url: http://192.168.10.1 . Please note:
 
* Suppose your existing subnet is "192.168.1.x", with gateway "192.168.1.1".
 
* Suppose your existing subnet is "192.168.1.x", with gateway "192.168.1.1".
* In "Wizard" of WFilterROS, please choose "Gateway" and set a "Static" ip to the WAN interface.(For example: 192.168.1.2, netmask 255.255.255.0, gateway 192.168.1.1)
+
* In "Wizard" of WFilter NG Firewall, please choose "Gateway" and set a "Static" ip to the WAN interface.(For example: 192.168.1.2, netmask 255.255.255.0, gateway 192.168.1.1)
* Modify ip address of a client device to "192.168.10.x", with gateway "192.168.10.1"(the default lan ip of WFilterROS).  
+
* Modify ip address of a client device to "192.168.10.x", with gateway "192.168.10.1"(the default lan ip of WFilter NG Firewall). So WFilter NG Firewall can control it.
* If there is an existing DHCP server in your network. Please disable it. So WFilterROS will act as the DHCP server. All clients with "dynamic ip" will be redirected to WFilterROS.
+
* If there is an existing DHCP server in your network. Please disable it. So WFilter NG Firewall will act as the DHCP server. All clients with "dynamic ip" will be redirected to WFilter NG Firewall.
  
 
[[Category:Installation]]
 
[[Category:Installation]]

Latest revision as of 13:47, 9 September 2016


[edit] 1 Introduction

You're recommended to install WFilter NG Firewall in virtual machines only for preview testing. Please also check:

  • WFilter NG Firewall in a virtual machine shall work in "gateway" mode.
  • To test a client, you need to modify this client's network settings to use WFiler NG Firewall as its gateway.
  • Please note: in a vm, since both outgoing and incoming traffic use a same cable, suppose your network connection is 100Mb, you only can get a maximum bandwidth of 50Mb.
  • To install WFilter NG Firewall in a physical PC, please check: WFilter NG Firewall Installation Steps

This document demonstrates certain steps to setup a virtualbox virtual machine running WFilter NG Firewall.

[edit] 2 Steps to install WFilter NG Firewall in Virtualbox

  • New a virtual machine, choose "Other Linux 32bit"

Virtualbox1.png

  • The harddisk settings:

Virtualbox2.png

  • Two bridged network adapters:

Virtualbox3.png

Virtualbox4.png

  • The final virtual machine settings:

Virtualbox5.png

  • Boot the virtual machine, chooose WFilter NG Firewall iso as the startup disk:

Virtualbox6.png

[edit] 2.1 Configuration

Add an 192.168.10.x ip in your host pc, then you can access webUI of WFilter NG Firewall via this url: http://192.168.10.1 . Please note:

  • Suppose your existing subnet is "192.168.1.x", with gateway "192.168.1.1".
  • In "Wizard" of WFilter NG Firewall, please choose "Gateway" and set a "Static" ip to the WAN interface.(For example: 192.168.1.2, netmask 255.255.255.0, gateway 192.168.1.1)
  • Modify ip address of a client device to "192.168.10.x", with gateway "192.168.10.1"(the default lan ip of WFilter NG Firewall). So WFilter NG Firewall can control it.
  • If there is an existing DHCP server in your network. Please disable it. So WFilter NG Firewall will act as the DHCP server. All clients with "dynamic ip" will be redirected to WFilter NG Firewall.
Personal tools
Namespaces

Variants
Actions
Navigation
Tools