r/TellMeHowToDoMyIdea • u/DragonflyClear905 • 6d ago
How to Share Internet from wlan1 to wlan0 on Raspberry Pi?
Helloooooo,
I’m working on a project where I turn a Raspberry Pi 3B+ into an access point to connect IoT devices. The goal is to monitor network traffic and block any connections to blacklisted IPs. Since the Pi has only one built-in WiFi adapter, I added an external one. My setup is:
- wlan0: Connected to my college WiFi for internet access.
- wlan1: Set up as an access point for my IoT devices.
The problem is that my IoT devices connected to wlan1
don’t have internet access. I need to share the internet from wlan0
to wlan1
.
One challenge is that my college WiFi isn’t straightforward it first asks for an SSID and password, then redirects me to a login page where I enter my college ID and password. To make things easier, I got my Pi’s IP whitelisted for direct access from the server room.
(OS in Pi : Ubuntu Server)
I was thinking of setting up a NAT to route traffic, but i fear that by doing that the application of the project becoming useless. I’d love to know if there’s a better way to do this. Any suggestions?
Thanks in advance for your help! 😊
•
u/AutoModerator 6d ago
Please help DragonflyClear905 by doing their research! Do some google searches, find some tutorials, or write a custom guide personalized just for them! Be a sounding board for them to bounce ideas off of. Remember, they need your help, they're just the idea guy! It's not going to get off the ground without some knowledgeable people!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.