Monthly Archives: August 2013

Deploy WFilter with a virtual openwrt gateway.

This deployment implements a gateway with openwrt running in a virtual machine. So you can run WFilter in the host computer to monitor client computers.

In case you don’t have a mirroring device, you can use this deployment instead. It’s also powerful and reliable.

1. Network Topology

The virtual openwrt gateway is connected to original gateway by a cable. It serves a new subnet to client devices.

2. Steps to build the openwrt virtual gateway.

The host PC runs a windows system and shall be connected with a wired network card.

1). Download and install VirtualBox

Download URL:

2). Download the pre-built openwrt vm.

Download URL: openwrt for wfilter

Uncompress it to a local directory, double click file “openwrt_1.vbox”

You need to modify the “network settings” of this vm, change “Adapter 1″ and “Adapter 2″ to the network card which is connected to your current gateway.

Now you can start the openwrt vm.

3). Launch openwrt web UI

The vm is assigned with a default ip address “″, to access its web UI, you need to add a ip address to your current adapter.

Now you can access openwrt web UI in your browser, from url

Username is root, default password is: im1234

4). Configure Wan Interface

You can configure wan interface in “Network”->”Interfaces”->”BR”.

The default Wan ip address is “″, you need to modify it according to your network settings.

Assign a valid ip address and the gateway ip address to the wan interface.

4). Configure Lan Interface

You don’t have to modify the lan interface settings, unless you want to change the default subnet “″.

3. Disable DHCP in current gateway

The existing dhcp server(usually the gateway) shall be disabled.

4. Setup WFilter.

Now the virtual gateway is acting as a gateway and dhcp server in your network. Devices obtain ip addresses from this virtual gateway can be monitored in WFilter.