Mobile Office Case with Raspberry Pi: A WLAN-to-LAN Bridge for On-Site Connectivity

Introduction

This project was developed as part of my IHK final exam (Sommer 2021) for the IT-Systemelektroniker qualification. It solves a practical challenge: how to provide secure, mobile internet access to LAN-based devices (like printers or PCs) at client sites using only WLAN access.

Project Overview

ComponentDetails
DeviceRaspberry Pi 4 with Raspberry Pi OS Lite
FunctionWLAN-to-LAN bridge (NAT + DHCP + DNS)
Network GatewayFRITZ!Box router (local subnet)
Use CaseCustomer site deployments
InterfaceWebUI (wifiWebUI) and CLI
Remote Config ToolmRemoteNG

What Was Implemented

  • Raspberry Pi as a network bridge using:
    • dnsmasq, iptables, and custom routingΒ 
    • DHCP server and NAT over eth0Β 
    • Automatic startup scripts via crontab
  • WiFi Configuration UI via wifiWebUIΒ 
  • LAN for clients (PC, printer), isolated from a customer network
  • Complete network layout with FRITZ!Box in AP mode

Network Architecture

[Customer WiFi]
↓ wlan0
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Raspberry Pi β”‚
β”‚ (NAT + DHCP+AP)β”‚
β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜
eth0 ↑
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ FRITZ!Box β”‚
β”‚ (DHCP + DNS) β”‚
β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜
↑
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
[Local PC]Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β [Network Printer]

Each LAN device receives local IP via the FRITZ!Box, which NATs via Raspberry Pi to access the internet through the customer’s WLAN.

Folder Structure (GitHub Repo)


mobile-office-case/
β”œβ”€β”€ config/           # dnsmasq, network interfaces
β”œβ”€β”€ deployment/       # install.sh and wifiWebUI integration
β”œβ”€β”€ bashScripts/      # automation scripts
β”œβ”€β”€ wifiwebui.conf    # Web UI config
β”œβ”€β”€ wifiwebui.psgi    # Web interface app
β”œβ”€β”€ README.pdf        # Full project report
β”œβ”€β”€ Presentation.pdf  # IHK presentation slides

  

Key Technologies Used

  • dnsmasq for DHCP and DNS
  • iptables for NAT routing
  • crontab for boot-time script execution
  • Β FRITZ!Box as internal DHCP/DNS relay
  • Web configuration via wifiWebUI

Project Screenshots & Diagrams

Project Timeline

PhaseHours
Analysis2
Planning5
Implementation14
Testing & Handover5
Documentation5
Total31

Tests Conducted

  • WLAN bridge stability
  • DHCP and NAT on LAN
  • Remote login & configuration
  • Internet passthrough via FRITZ!Box

Downloads & Resources

πŸ“ Project Proposal

This document outlines the project idea, goals, planned structure, and estimated phases for the IHK exam.

πŸ“š Project Documentation

Full technical report submitted for the IHK exam. Includes setup steps, configurations, and test results.

πŸ“Š Project Presentation

Final presentation slides for my IHK project defense with summary, tech overview, and implementation phases.

πŸ’» GitHub Repository

Visit the GitHub repo for source code and project setup files.

Lessons Learned

  • Deep understanding of NAT, DNS, and DHCP
  • Secure headless Raspberry Pi deployment
  • Script automation and remote config best practices
  • How to document and present real-world IT solutions for enterprise scenarios

3.7 3 votes
Article Rating
Subscribe
Notify of
guest

3 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Jean Claude Munyakazi
5 months ago

Thanks for stopping by!

This project was part of my final IHK exam, and I really enjoyed building a flexible solution for on-site connectivity using a Raspberry Pi. Feel free to leave your thoughts or ask any questions, I’m happy to share more behind-the-scenes details if you’re curious!

Last edited 5 months ago by Jean Claude Munyakazi
Remba
Remba
5 months ago

Hey Claude,
Thanks a lot for the update.
Keep it coming brother

Jean Claude Munyakazi
Reply to  Remba
5 months ago

Hey Remba!

So great to hear from you, brother, brings back memories of the good old days in SA! πŸ™Œ

Thanks for the support, and trust me, more is definitely on the way. Let’s keep building and sharing!

Stay well and connected πŸ’ͺ

#TechRoots

3
0
Would love your thoughts, please comment.x
()
x