webGUI Configuration mainap.quest4.com 
System
     General setup
     Static routes
     Firmware
     Advanced

Interfaces
(assign)
     LAN
     WAN
     Backhaul

Firewall Rules

     LAN
     WAN
     Backhaul
 
     NAT
     DNS forwarder
     DHCP Server
          LAN
          Backhaul
    SNMP
    Proxy ARP

Diagnostics
    Ping

 

Note: For this configuration, all other items are left at default.

 
These are working settings for a Netgate PowerG8 WRAP setup. This unit is setup to be the main access point, feeding nodes underneath it. These settings are based on original configuration files kindly provided courtesy of www.socalfreenet.org.
 

System: General setup

Hostname
name of the firewall host, without domain part
e.g. firewall
Domain
e.g. mycorp.com
DNS servers

IP addresses; these are also used for the DHCP service, DNS forwarder and for PPTP VPN clients

Allow DNS server list to be overridden by DHCP/PPP on WAN
If this option is set, m0n0wall will use DNS servers assigned by a DHCP/PPP server on WAN for its own purposes (including the DNS forwarder). They will not be assigned to DHCP and PPTP VPN clients, though.
Username
If you want to change the username for accessing the webGUI, enter it here.
Password
 (confirmation)
If you want to change the password for accessing the webGUI, enter it here twice.
webGUI protocol HTTP     HTTPS

Note: If you set this to HTTPS, be extremely careful that you remember to put the "s" in https. If this is set to HTTP on one node and HTTPS on another node, it is extremely easy get yourself confused and think that the webGUI isn't loading, when in fact it is a user error.

 

 
System Static Routes
Interface Network Gateway Description
Backhaul 10.12.12.128/27 10.12.12.14 node 1   
Backhaul 10.12.12.192/27 10.12.12.16 node 6 (park)   
Backhaul 10.12.12.224/27 10.12.12.17 node 7 (reserved)   
Backhaul 10.12.12.32/27 10.12.12.11 node 10   
Backhaul 10.12.12.64/27 10.12.12.12 node 2   
Backhaul 10.12.12.96/27 10.12.12.13 node 3   

Note: On the main unit, you need to set a static route to the subnets on the nodes that connect to the main unit.

 

Interface assignments
Interface Network port  
LAN
WAN
Backhaul

Warning:
After you click "Save", you must reboot the firewall to make the changes take effect. You may also have to do one or more of the following steps before you can access your firewall again:
  • change the IP address of your computer
  • renew its DHCP lease
  • access the webGUI with the new IP address

Note: The sis0 here is the serial interface that the CAT-5 cable will plug into. The webGUI is on the sis0 interface. In this setup, the LAN will be an 802.11b AP and the Backhaul will be an 802.11a backhaul that feeds the nodes. In a MonoWall default setup, "Backhaul" would be the OPT1 interface. 

 

 
Interfaces: LAN
(Note: In this setup, this is your 802.11b radio.)

IP address /
 
Wireless configuration
Standard
Mode
Note: IBSS mode is sometimes also called "ad-hoc" mode;
BSS mode is also known as "infrastructure" mode
SSID
Channel
Note: Not all channels may be supported by your card
Station name
Hint: this field can usually be left blank
WEP Enable WEP
     TX key 
Key 1:  
Key 2:  
Key 3:  
Key 4:  

40 (64) bit keys may be entered as 5 ASCII characters or 10 hex digits preceded by '0x'.
104 (128) bit keys may be entered as 13 ASCII characters or 26 hex digits preceded by '0x'.
 
  Warning:
after you click "Save", you must reboot your firewall for changes to take effect. You may also have to do one or more of the following steps before you can access your firewall again:
  • change the IP address of your computer
  • renew its DHCP lease
  • access the webGUI with the new IP address

 

 Interfaces: WAN (Note: This is your sis0 interface (i.e. that one the CAT-5 will plug into.))

Type
Static IP configuration
IP address /
Gateway

Block private networks
When set, this option blocks traffic from IP addresses that are reserved for private
networks as per RFC 1918 (10/8, 172.16/12, 192.168/16) as well as loopback addresses
(127/8). You should generally leave this option turned on, unless your WAN network
lies in such a private address space, too.

Note: In this setup, the above items were the only thing configured. Unless you know you need another setting for some reason, leave everything else at default.

Note: Since this is the interface that the CAT-5 will plug into, set the IP address on this interface to the network that will supply your Internet connection. 

  


Interfaces: Optional 1 (Backhaul)

  Enable Optional 1 interface
Description
Enter a description (name) for the interface here.
IP configuration
Bridge with
IP address /
Wireless configuration
Standard
Mode
Note: IBSS mode is sometimes also called "ad-hoc" mode;
BSS mode is also known as "infrastructure" mode
SSID
Channel
Note: Not all channels may be supported by your card
Station name
Hint: this field can usually be left blank
WEP Enable WEP
     TX key 
Key 1:  
Key 2:  
Key 3:  
Key 4:  

40 (64) bit keys may be entered as 5 ASCII characters or 10 hex digits preceded by '0x'.
104 (128) bit keys may be entered as 13 ASCII characters or 26 hex digits preceded by '0x'.
 
  Note:
be sure to add firewall rules to permit traffic through the interface. Firewall rules for an interface in bridged mode have no effect on packets to hosts other than m0n0wall itself, unless "Enable filtering bridge" is checked on the System: Advanced functions page.

Note: Heed the note above to set firewall rules, and set them properly. Remember, the webGUI is on sis0, and if there are no rules to allow access to this interface, then you can't remotely configure the nodes (e.g., you will have to physically plug a CAT-5 into it to access the webGUI). Also, if you enable access to the webGUI from the other interfaces but don't create rules to let sis0 pass data, then be very careful in troubleshooting the node. For instance, even if everything is working correctly, and you use the MonoWall Diagnostics to ping the default gateway, the ping will fail. However, the same ip address can be successfully pinged from the command line of a computer logged on to the same access point...IF the rules are configured properly. Troubleshooting can become troublesome and very time consuming. Stay organized, think things through, and don't waste time "fixing" things that are actually working!

 
  
Firewall Rules: LAN
    Proto Source Port Destination Port Description  
* LAN net * * * Default LAN -> any 
               
pass block reject log
pass (disabled) block (disabled) reject (disabled) log (disabled)

 

Firewall Rules: WAN
    Proto Source Port Destination Port Description  
* * * * * Allow anything through firewall (!) 
               
pass block reject log
pass (disabled) block (disabled) reject (disabled) log (disabled)

 

Firewall Rules: Backhaul
    Proto Source Port Destination Port Description  
* 10.12.12.0/24 * * * Default Backhaul -> any 
               
pass block reject log
pass (disabled) block (disabled) reject (disabled) log (disabled)
 

 
Firewall: NAT

Outbound
Enable advanced outbound NAT

Note:
If advanced outbound NAT is enabled, no outbound NAT rules will be automatically generated anymore. Instead, only the mappings you specify below will be used. With advanced outbound NAT disabled, a mapping is automatically created for each interface's subnet (except WAN).
If you use target addresses other than the WAN interface's IP address, then depending on the way your WAN connection is setup, you may also need proxy ARP.

You may enter your own mappings below.

Interface Source Destination Target Description  
 

Note: In the original settings, Enable advanced outbound NAT was turned on. Depending on your network, for this setup, you should not need any NAT settings other than default. However, if everything appears to be functioning properly but you still can't pass data, uncheck this setting and test again. If unchecking this box fixes the problem, after you get a node up and running, you will have to configure proxy ARP or the node will not pass data properly, either. 

 

 
Services: DNS forwarder

Enable DNS forwarder
Register DHCP leases in DNS forwarder
If this option is set, then machines that specify their hostname when requesting a DHCP lease will be registered in the DNS forwarder, so that their name can be resolved. You should also set the domain in System: General setup to the proper value.

Note:
If the DNS forwarder is enabled, the DHCP service (if enabled) will automatically serve the LAN IP address as a DNS server to DHCP clients so they will use the forwarder. The DNS forwarder will use the DNS servers entered in System: General setup or those obtained via DHCP or PPP on WAN if the "Allow DNS server list to be overridden by DHCP/PPP on WAN"
is checked. If you don't use that option (or if you use a static IP address on WAN), you must manually specify at least one DNS server on the System: General setup page.

You may enter records that override the results from the forwarders below.

Host Domain IP Description  

 

 
Services: DHCP server
LAN
  Enable DHCP server on LAN interface
  Deny unknown clients
If this is checked, only the clients defined below will get DHCP leases from this server.
Subnet 10.0.0.0
Subnet mask 255.255.0.0
Available range 10.0.0.0 - 10.0.255.255
Range  to 
WINS servers
 
Backhaul (a.k.a. OPT1)
  Enable DHCP server on Backhaul interface
  Deny unknown clients
If this is checked, only the clients defined below will get DHCP leases from this server.
Subnet 10.12.12.0
Subnet mask 255.255.255.224
Available range 10.12.12.0 - 10.12.12.31
Range  to 
WINS servers
Default lease time seconds
This is used for clients that do not ask for a specific expiration time.
The default is 7200 seconds.
Maximum lease time seconds
This is the maximum lease time for clients that ask for a specific expiration time.
The default is 86400 seconds.
 

 
Services: SNMP

  Enable SNMP agent
System location
System contact
Community
In most cases, "public" is used here

 

  

Services: Proxy ARP

Interface Network Description  
Backhaul 10.12.12.0/24     
 

Note:
Proxy ARP can be used if you need m0n0wall to send ARP replies on an interface for other IP addresses than its own (e.g. for 1:1, advanced outbound or server NAT). It is not necessary on the WAN interface if you have a subnet routed to you or if you use PPPoE/PPTP, and it only works on the WAN interface if it's configured with a static IP address or DHCP.

 

Note: If you unchecked Enable advanced outbound NAT then you will probably need to configure Proxy ARP for your nodes to function properly. If you left it checked, you will not have anything in the Proxy ARP settings.
 

 
Diagnostics: Ping

Host
Count
 

Note: The ping function will be one of your main diagnostics tools. From here, you should start testing by pinging your interfaces (LAN, WAN, Backhaul (a.k.a. OPT1). If these pings are successful, ping up stream from the unit you are on. If you are on a node, ping the unit above it. If successful, ping the default gateway and DNS servers, and then ping outside of your network.

Note: As important as this diagnostic tool is, also connect to the unit wirelessly and ping the unit from a command line. If your rules aren't configured properly, and you haven't enabled the webGUI interface (sis0) permission to access an interface, it is possible that the unit is working and a ping from your connected device would be successful, yet a ping from the webGUI would fail. Pay careful attention to this, as you could waste a lot of time on a non-existent connectivity problem, when in all actuality, it is a firewall rule problem.

  
Note: Depending on your network setup (e.g., if the unit you are testing is behind a router directly connected to your Internet provider or if you are on your LAN behind a firewall),  if you can ping, say your default gateway, from the MonoWall ping Diagnostic tool successfully, but pings from your laptop go through to the unit, but fail on pinging the same default gateway, you probably need to configure a static route in your router or firewall pointing back to the subnet(s) configured on the units.

If you can ping from m0n0wall but not your laptop - its possible you are missing a static route somewhere along the line - i.e. so the packet goes out as, say, 10.12.12.180 but can't come back becuase the 10.12.12.160/27 subnet isn't listed anywhere.  A quick way to tell if this might be the case is to turn NAT back on (NAT -> advanced, uncheck option) and then try surfing from your laptop.
 

Also, Other things that may cause similar problems  is if -- assuming you have captive portal enabled -- you haven't clicked through it yet. Or, you don't have an exception for the m0n0wall box  itself.

 
 
m0n0wall is © 2002-2005 by Manuel Kasper. All rights reserved.  [view license]

Note: While the owners of any copyrighted information retain ownership of their respective copyrights, all other information presented here is published under a creative commons license:

 


This document released under the

Attribution-NonCommercial-ShareAlike 2.0

You are free:

  • to copy, distribute, display, and perform the work

  • to make derivative works

Under the following conditions:

Attribution. You must give the original author credit.
Noncommercial. You may not use this work for commercial purposes.
Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under a license identical to this one.
  • For any reuse or distribution, you must make clear to others the license terms of this work.

  • Any of these conditions can be waived if you get permission from the copyright holder.

Your fair use and other rights are in no way affected by the above.

This is a human-readable summary of the Legal Code (the full license).