wiki.ipfire.org

The community-maintained documentation platform of IPFire

User Tools

Site Tools


configuration:firewall:accesstoblue

Access to Blue

The BLUE interface is designed to separate the LAN from the Wireless LAN (or “WLAN”).

By default, IPFire controls the access of all devices on blue using MAC Address filtering. This means that all DHCP leases must be manually approved in the IPFire Web User Interface before they can access the network and gain internet access. This filtering is separate to any wireless passphrase which you have applied in IPFire or to an external a WiFi access point.

Unless disabled, MAC Address filtering is applied to any device connected to the blue interface.

This includes external WiFi access points which may also apply MAC address filtering by default.

Example (without DHCP on blue): 00:13:02:XX:XX:XX is the WLAN-clients MAC address and the client should use the IP 192.168.49.1.

  1. Click “Enabled”.
  2. Click “Add” and the client will be able to access the internet.

Disable MAC Address filtering

To disable MAC address filtering and allow all clients connected to blue internet access do the following on the Wireless Configuration page:

  1. Entering the blue subnet into the Source IP field and leave the Source MAC Address field blank
  2. Enter the IP of the blue network's broadcast address and the subnet mask in CIDR notation. For example 172.16.1.0/24 for a subnet with a range of addresses from 172.16.1.0 to 172.16.1.255

Disabling MAC address filtering does not disable WLAN encryption

Deny blue clients access to the IPFire web interface

If no blue network clients should have access to the web interface, add the following entry to “/etc/sysconfig/firewall.local

File: /etc/sysconfig/firewall.local
  ## Start rule
  iptables -A CUSTOMINPUT -s 192.168.49.0/24 -p tcp -d 192.168.49.254 --dport 444 -j DROP
 
  ## Stop rule
  iptables -D CUSTOMINPUT -s 192.168.49.0/24 -p tcp -d 192.168.49.254 --dport 444 -j DROP

Allowing Clients on Blue Network to Connect to Green Network

By default, the firewall will not allow traffic from the Blue network to pass through to the Green network. If you wish to allow traffic to pass through from the Blue network to the Green network, you must create a firewall rule to allow that traffic.

configuration/firewall/accesstoblue.txt · Last modified: 2018/08/24 02:44 by Jon