Skip to content
Network Security

How to Configure Any Router as a Wi-Fi Relay for Networks with Captive Portals

Simplify the process of setting up a router as a Wi-Fi relay for networks requiring browser-based authentication. This guide offers step-by-step instructions, troubleshooting tips, and advanced configurations to overcome challenges with captive portals and ensure seamless internet access for multiple devices.

3 min read
Router Configuration for Captive Portals

Table of Contents:


Introduction:

Setting up a router as a Wi-Fi relay for networks with browser-based authentication can be challenging. This guide simplifies the process, helping you configure your router efficiently and overcome common issues associated with captive portals.


Understanding Captive Portals:

  • Captive portals are networks that require authentication via a browser login page before granting internet access.
  • These are commonly used in public Wi-Fi, hotels, or universities to control access and ensure user identification.
  • While convenient for single-device access, they pose challenges when using routers to relay the connection.

What You’ll Need:

  • A router with Access Point Mode capability.
  • Credentials for the primary Wi-Fi network requiring authentication.
  • A laptop, tablet, or smartphone to configure the router and authenticate the connection.

Step-by-Step Guide:

1. Switch to Access Point Mode:

  1. Access the router’s admin panel by entering its IP address (typically http://192.168.1.1) in a web browser.
  2. Navigate to the Operation Mode section in the settings.
  3. Select Access Point Mode and save the changes.
  4. The router will restart and prepare for configuration.

Pro Tip: If you’re unsure how to access the admin panel, refer to your router’s manual or check the default credentials printed on the router.

2. Connect to the Main Wi-Fi Network:

  1. In the router’s settings, scan for available Wi-Fi networks.
  2. Select the primary network (the one requiring browser-based authentication).
  3. Enter the network credentials if prompted.

Note: Ensure the router is placed within the signal range of the main Wi-Fi network for optimal connectivity.

3. Authenticate via Captive Portal:

  1. Connect your laptop or mobile device to the router’s SSID.
  2. Open a web browser on your device. It should redirect you to the captive portal login page.
  3. Enter your credentials (e.g., username and password) to authenticate the connection.
  4. Once authenticated, all devices connected to the router will share the internet access.

Post-Configuration Steps:

  1. After the router is connected to the main Wi-Fi and authenticated, manually assign static IPs to devices as needed.

    • Example:
      • Router IP: 192.168.50.1
      • Device IP: 192.168.50.56
    • Ensure the assigned IPs follow the same sequence as the router.
  2. For additional devices like TVs or those without a browser:

    • Manually connect these devices to the router’s SSID.
    • Login is not required again, as the captive portal authentication is handled at the router level.
  3. Repeat this manual configuration for each device to maintain a consistent connection.


Example Network Settings:

SettingValueDescription
IP Address192.168.1.100Static IP for the device.
Subnet Mask255.255.255.0Default subnet mask.
Gateway192.168.1.1Router’s IP address.
DNS8.8.8.8, 1.1.1.1Public DNS for faster connectivity.

Troubleshooting FAQs:

1. What should I do if devices do not get an IP address?

  • Manually assign a static IP address in the network settings of the connected device.

2. Why do I keep getting disconnected?

  • The captive portal session may have expired. Reauthenticate via the browser.

3. Can I avoid reauthenticating repeatedly?

  • Use MAC address cloning to simulate the same device, reducing the need for frequent logins.

Advanced Tips for Power Users:

  • Custom Firmware: Consider using firmware like DD-WRT or OpenWrt for enhanced features, such as better handling of captive portals or advanced routing options.
  • MAC Address Cloning: Some networks allow persistent sessions by cloning the MAC address of an authenticated device.
  • Network Monitoring: Use router tools to monitor connected devices and bandwidth usage for better management.

Conclusion:

With this guide, you can seamlessly configure your router as a Wi-Fi relay for networks with browser-based authentication. Whether you are extending public Wi-Fi or connecting to a university network, this solution simplifies the process and ensures consistent internet access for all your devices.


Share article

Subscribe to my newsletter

Receive my case study and the latest articles on my WhatsApp Channel.