When you first open the WFilter NGF interface settings, the deployment choice feels bigger than it should. If WFilter NGF will replace your current gateway, gateway deployment is the mode to pick. It is the only mode where all features are available, including VLAN, port forwarding, and VPN, which are not available in bridge mode. Bridge mode is still useful when you need transparent deployment with no changes to your existing network, and passby deployment listens on a switch mirroring port. But for many users, the real work starts with gateway interfaces and DHCP behavior.
1. Gateway Deployment: Replacing Your Router Without Losing Control
In gateway deployment, WFilter NG Firewall acts as the gateway for your local network. Usually, your current gateway is replaced with WFilter NG Firewall. The network diagram makes the role clear:
On the WAN side, you can use PPPoE, DHCP, or a static IP. Peer DNS lets you use the dynamically assigned DNS server in PPPoE and DHCP; if disabled, WFilter uses the DNS servers configured in “DNS” instead. Two small settings often solve real ISP headaches: MAC Clone changes the WAN interface MAC address, and VLAN ID enables 802.1q VLAN on that WAN interface. If your ISP binds to a MAC address or expects a VLAN tag, these options matter.
On the LAN side, you have flexibility. You can give every LAN interface a different subnet, or let all LAN interfaces share the same subnet. Each LAN interface can run its own DHCP service. When IP-MAC Binding is enabled, clients always receive the bound IP through DHCP. That is useful in offices where printers, servers, or staff devices need predictable addresses without manual static configuration on every client.

2. Custom DHCP Options: Fix DNS and Gateway Assignments per LAN
By default, the DHCP gateway and DNS server are both configured as WFilter’s LAN IP address. That is fine for a simple network, but it can be wrong when you already have an internal DNS server or need to hand out a different default gateway. Instead of editing every client, you can change the DHCP options directly.
The syntax is “DHCP code,Value”, with one option per line. For example:
- 3,192.168.1.1 sets the default gateway.
- 6,8.8.8.8 sets a single default DNS server.
- 6,8.8.8.8,8.8.4.4 sets multiple DNS servers.
This is a small interface detail, but it saves a lot of troubleshooting. If users can reach the internet by IP but DNS fails, or if a subnet needs a specific gateway, check the DHCP options before changing the whole topology. Gateway deployment gives WFilter NGF full feature access; custom DHCP options make that gateway fit the network you already have.