I just started with OpenWRT a few days ago on my TP-Link AC1200, and I'm using it as an Access Point (not my main router). I'm new to it, and I would really appreciate your help.
For background on my knowledge, I'm a software engineer, and I use Linux comfortably and I understand basic networking (subnets, routing, firewalls, etc) and manage my Linux servers security myself. OpenWRT has too many options above my pay grade . So far, I'm using LuCI. No command line for me yet .
The problem
Currently I'm using Guest wifi from this tutorial. Can you help me use the extra, unused WAN port I have for the same purpose? I have a device that needs better connection that I don't trust to give access to my home network.
Using WAN port isn't about security. The purpose is to make it harder to do human error when plugging ports.
What does "moving WAN port to br-lan" mean? Doesn't this give WAN the same access as normal LAN? This doesn't achieve what I'm looking for. I want WAN to be for guest access. Internet only.
I followed your instructions It looks like this now. Doesn't work... I attempted to connect a computer to WAN, and I got "No route to host" when I attempted to telnet or do any connection.
To clarify, in case I didn't do it well, I want to be able to connect a computer to the WAN port, and it should be able to get Guest network (internet access only).
Apologies for the confusion. This router is configured as an access point as per this tutorial followed by this tutorial for guest wifi. The internet comes from one of the LAN ports.
You shoulda been able to more WAN port to LAN config as noted before.
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
Not exactly, but close. I want the one device, that's connected to the WAN Ethernet port of that AP to be part in the Guest network. The other 4 normal LAN ports should give normal LAN access.
It may assist if you explain how these networks physically connect to this AP.
I noticed you have all AP wireless configurations (no STAs), so it's unclear how you provide 2 the networks (Guest and LAN) to the AP.
You also noted you use a WAN port for a physical Guest - but never explained your upstream Internet connectivity for both networks (we already know about the invalid gateway).
Perhaps this is a misunderstanding of network configuration, but it's difficult to know without details and answers to the inquires.
There's nothing special I'm doing. The network connection to my main router (public facing router) comes from the wall in that room (building design, you know). I just connect that ethernet connection coming from my main router (which has internet + LAN) to one of the 4 LAN ports on the router. This is how everything gets internet on that router. So the router is acting as a switch, and an AP for wireless.
With that setup, the WAN port is useless. I want to use it for guest connections. This is helpful, because I need one guest port, and I need to make it memorable to avoid mistakes in the future.
Please let me know if you have any other questions. And I apologize in advanced for being this ignorant.