Manual installation

The following configuration steps show you how to manually setup a Public Spot for simple scenarios. For the application scenario described here, you enable the Public Spot on an interface over which there is no other data traffic other than the Public Spot traffic – where Public Spot and normal WLAN users do not share the same network (dedicated SSID).

Note: This tutorial is only an example. Depending on the device type (access point, router, WLAN controller, etc.) or complexity of the network configuration (e.g., use of VLAN or ARF), different or additional steps may be required for setting up a Public Spot. Since this type of network configuration can be highly customized, this tutorial concentrates specifically on a simple example, so that you can adapt the steps as needed.
  1. To do this, start LANconfig and select the device for which you want to set up the Public Spot, for example, a LANCOM access point. Next, open the configuration menu for the device.
  2. Check that the time is correct.

    To check the certificates and correctly record and bill session data, it is important for the Public Spot's time setting to be accurate. First make settings such as time zone and time changes (summer and standard time):

    • LANconfig: Date/time > General
    Note: In order to ensure that the time of the Public Spot remains correct, the device should be set up as an NTP client. Enter the time server that is necessary for that under Date/Time > Synchronization > Time server. Open the "Add" window to show a list of possible server addresses.
  3. Select the interfaces for the Public Spot operation.

    Here you activate the interfaces which will be available to registered users. Along with the logical WLAN interfaces which Public Spot users directly login to, the logical LAN interfaces (LAN-1, etc.), and the point-to-point connections (P2P-1, etc.) can also be selected. When connected via the LAN or P2P interface, you can integrate additional access points into a LANCOM Wireless router Public Spot. For an access point select, for example, the logical WLAN interface WLAN-1.

    • LANconfig: Public Spot > Server > Interfaces




    By activating the authentication for a WLAN interface, you automatically release the associated SSID for the Public Spot operation.

    Note: On a LANCOM WLAN controller you can enable certain Ethernet interfaces for the Public Spot. In this manner you can also set up selective restrictions for certain VLANs.
  4. Access to your device from the Public Spot network should be restricted to the authentication pages.
    If you do not restrict access, Public Spot users will be able to access the configuration interface of your device (WEBconfig). For security reasons you should not permit this.
    • LANconfig: Public Spot > Server > Operational settings > WEBconfig access by Public Spot interfaces limited to authentication pages




  5. Disconnect the interface which is to be used for Public Spot operations from the other network traffic.
    In order for end devices to be able to communicate with each other using different interfaces of a LANCOM (e.g., between LAN-1 and WLAN-1), these interfaces are logically connected to each other (bridged) within your device. However, in a Public Spot scenario this type of bridging may not be desirable for security reasons. In order to disconnect the communication between an interface (e.g., WLAN-1) assigned to a Public Spot and the rest of the network, you have to remove bridging. In the Port table set the Bridge group for the respective interface to none.
    • LANconfig: Interfaces > LAN > Port table




  6. Enable the WLAN for the Public Spot.

    This setting does not affect: LANCOM routers, WLAN controllers, central-site gateways.

    Activate the logical WLAN which you enabled for the Public Spot login and assign a descriptive name to this network (SSID).

    • LANconfig: Wireless LAN > General > Logical WLAN settings > WLAN network <number> > Network




  7. Assign the IP address and netmask to the device that your Public Spot network should specify.
    The Public Spot module has its own address on your network, which is independent from the address that you assigned to your device. For example, if you have a 192.168.0.0/24 network set up and your device has the IP address 192.168.2.1, you can assign the IP address 192.168.3.1 and the subnet mask 255.255.255.0, as long as this IP address has not already been used elsewhere. Select the interface that you chose under Interface assignment e.g., WLAN-1.
    • LANconfig: IPv4 > General > IP networks




    Note: If your device is not directly connected to the Internet and you have a different address range for your Public Spot, you must set up a return route to your Public Spot network on your Internet gateway. If there is no return route, Public Spot users will see an HTTP error after they have successfully authenticated.

    Please find the directions on how to set up a return route, in the documentation for your Internet gateway. If it is a LANCOM device, you can configure it under IP router > Routing > IPv4 routing table. To do this, create a new entry and enter the network address of your Public Spot network under IP Address and under Router enter the address of the Public Spot in your local network.





  8. Configure the DHCP server settings for the Public Spot network.
    Since the device has an IP network that is independent from the network where it is located, you must configure a DHCP server for this network. For the previously set up IP network (e.g., PS-WLAN-1), set the value for DHCP server enabled to automatic.
    • LANconfig: IPv4 > DHCPv4 > DHCP networks




  9. Disable the encryption for the interface that you are using for the Public Spot.

    This setting does not affect: LANCOM routers, WLAN controllers, central-site gateways.

    Encryption for all logical WLANs is enabled by default. In Public Spot applications, the payload data between the WLAN clients and the access point are usually transmitted unencrypted. For this reason, disable encryption under Wireless LAN > Encryption > WLAN encryption setting for the logical WLAN which you previously set up for the Public Spot login.





  10. Select the authentication mode and the protocol used for the user login.

    The authentication method that you select determines the information which users of the Public Spot WLAN must enter when logging in. Select Authenticate with name and password to allow your users the option to login with an individual username and password that you have previously assigned them. This setting also allows you to quickly provide Hotspot access to your guests using vouchers (tickets).

    Use HTTPS as the protocol in order to be able to send encrypted login data to your users during login.

    • LANconfig: Public Spot > Authentication > Authentication mode




    Note: Pay attention to the fact that, when you select the setting No authentication needed, unauthorized persons can have unlimited access to your Public Spot!
  11. Specify the internal RADIUS server as the server responsible for user administration and accounting. To do this, enter the Authentication port1.812 and Accounting port1.813.
    You store Public Spot access accounts in the user database on the device's own RADIUS server. In order to use Public Spot access accounts, you must configure the RADIUS server and the Public Spot module to use the RADIUS server.
    • LANconfig: RADIUS server > General




  12. Create an entry for the internal RADIUS server in the list of authentication servers of the Public Spot. Under Auth. server IP address and Acc. server IP address enter the loopback address 127.0.0.1. Use the Auth. server port and Acc. server port used for the authentication port and accounting port in the previous settings.
    The list entry is necessary in order for the Public Spot to recognize the address of the RADIUS server and so that it can authenticate Public Spot access on the internal RADIUS server.
    • LANconfig: Public Spot > Users > Authentication servers




  13. Set up filter rules in the Public Spot's firewall to secure your local network. In each case, create an "accept" rule (for example, ALLOW_PS-WLAN-1) and a "reject" rule (for example, DENY_PS-WLAN-1).
    You use the accept rule when devices are to be able to send DNS requests from the Public Spot network to all local networks, e.g., your local intranet. On the other hand, with a reject rule you generally block all access or requests from the Public Spot network to your local network. The order – accept before reject – is essential, since the firewall applies rules from top to bottom of the list.
    • LANconfig: Firewall/QoS > IPv4 Rules > Rules…








    • "Accept" rule settings:
    1. Enter the name of the rule in General, for example, ALLOW_PS-WLAN-1.
    2. Remove all possible predefined action objects from the list and using Actions > Add.. add an action object of type ACCEPT.
    3. In Stations > Connection source, enable the option Connections from the following stations and select Add... > Add custom station.
    4. In the Stations window that opens, select the option All stations in local network and for Network name select the name of your Public Spot IP network, e.g., PS-WLAN-1. Close the dialog with OK.
    5. In Stations > Connection destination, enable the option Connections to the following stations and after selection Add... choose LOCALNET.
    6. In Services > Protocol/target services enable the option Following protocol/target services and select Add... > DNS.
    7. End the filter rule dialog with a final click on OK.
      LANconfig then enters the allow rule into the rule table.
    • "Reject" rule settings
    1. Enter the name of the rule in General, for example, DENY_PS-WLAN-1.
    2. Remove all possible predefined action objects from the list and using Actions > Add.. add an action object of type REJECT.
    3. In Stations > Connection source, enable the option Connections from the following stations and select Add... > Add custom station.
    4. In the Stations window that opens, select the option All stations in local network and for Network name select the name of your Public Spot IP network, e.g., PS-WLAN-1. Close the dialog with OK.
    5. In Stations > Connection destination, enable the option Connections to the following stations and after selection Add... choose LOCALNET.
    6. End the filter rule dialog with a final click on OK.
      LANconfig then enters the rejection rule in the rule table.
  14. Store the configuration on your device.
That's it! You have completed configuration of your Public Spot module! Now, if you come within range of a Public Spot with a WLAN-capable device, the device can find the SSID that you set up as a public network and login to it.