Install WFilterROS in Virtualbox

From Wiki of WFilter NG Firewall
Revision as of 12:36, 20 April 2016 by WFilter (Talk | contribs)

Jump to: navigation, search


1 Introduction

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

  • WFilterROS 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.
  • 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: WFilterROS Installation Steps

This document demonstrates certain steps to setup a virtualbox virtual machine running WFilterROS.

2 Steps to install WFilterROS 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 WFilterROS iso as the startup disk:

Virtualbox6.png

2.1 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:

  • 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)
  • Modify ip address of a client device to "192.168.10.x", with gateway "192.168.10.1"(the default lan ip of WFilterROS). So WFilterROS 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.
Personal tools
Namespaces

Variants
Actions
Navigation
Tools