Unable to isolate guest wifi network

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
tpqnew
DD-WRT Novice


Joined: 03 Dec 2020
Posts: 49

PostPosted: Mon Oct 13, 2025 15:57    Post subject: Unable to isolate guest wifi network Reply with quote
Hi, I've followed this guide: https://wiki.dd-wrt.com/wiki/index.php/Guest_WiFi_%2B_abuse_control_for_beginners

I've created a virtual interface wlan0.1 that is set to use subnet 192.168.12.x (main router is 192.168.11.x)
Even after setting the wlan0.1 to be unbridged with AP and net isolation I can still ping from the .11 network to the .12 network and vice verca.

I am using TP link archer-C7 V2 with dd-wrt v3.0-r62036 std (08/08/25)
attached the relevant config screens:

Any help is appreciated.



dd_wifi2.JPG
 Description:
wireless part 2
 Filesize:  30.49 KB
 Viewed:  1077 Time(s)

dd_wifi2.JPG



dd_wifi1.JPG
 Description:
wireless part 1
 Filesize:  75.1 KB
 Viewed:  1077 Time(s)

dd_wifi1.JPG



dd_net1.JPG
 Description:
network config
 Filesize:  75.34 KB
 Viewed:  1077 Time(s)

dd_net1.JPG


Sponsor
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3764
Location: Germany

PostPosted: Mon Oct 13, 2025 16:45    Post subject: Reply with quote
WAN connection probably not active.
The firewall rules are only loaded once a WAN interface has been configured.

_________________
Quickstart guides:

use Pi-Hole as simple DNS-Server with DD-WRT

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 24.10.4 - Gateway
Qualcomm IPQ8065 - R7800 - dd-wrt r53562 - WAP
tpqnew
DD-WRT Novice


Joined: 03 Dec 2020
Posts: 49

PostPosted: Mon Oct 13, 2025 17:38    Post subject: Reply with quote
Thank you.
Any way to test it without having the WAN connected to the internet?
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3764
Location: Germany

PostPosted: Tue Oct 14, 2025 6:05    Post subject: Reply with quote
https://github.com/egc112/ddwrt/blob/main/Wireless%20Access%20Point.md

Quote:
If you want to only have the VAP/bridge to have internet access and not access to the rest of the network

Replace with the appropriate interface of your VAP, e.g. wl0.1, wlan0.1 etc:

Code:
GUEST_IF="wlan1.1"
#Net Isolation does not work on a WAP so keep it disabled, add for isolating VAP from main network: 
iptables -I FORWARD -i $GUEST_IF -d $(nvram get lan_ipaddr)/$(nvram get lan_netmask) -m state --state NEW -j REJECT

For isolating the WAP itself from the VAP/bridge:

Code:
iptables -I INPUT -i $GUEST_IF -m state --state NEW -j REJECT
iptables -I INPUT -i $GUEST_IF -p udp --dport 67 -j ACCEPT
iptables -I INPUT -i $GUEST_IF -p udp --dport 53 -j ACCEPT
iptables -I INPUT -i $GUEST_IF -p tcp --dport 53 -j ACCEPT

To make it simple and isolate the VAP/bridge from all know private subnets which isolate it not only from the main network but also from other bridges:

Code:
iptables -I FORWARD -i $GUEST_IF -d 192.168.0.0/16 -m state --state NEW -j REJECT
iptables -I FORWARD -i $GUEST_IF -d 10.0.0.0/8 -m state --state NEW -j REJECT
iptables -I FORWARD -i $GUEST_IF -d 172.16.0.0/12 -m state --state NEW -j REJECT

_________________
Quickstart guides:

use Pi-Hole as simple DNS-Server with DD-WRT

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 24.10.4 - Gateway
Qualcomm IPQ8065 - R7800 - dd-wrt r53562 - WAP
tpqnew
DD-WRT Novice


Joined: 03 Dec 2020
Posts: 49

PostPosted: Tue Oct 14, 2025 11:33    Post subject: Reply with quote
great, thanks!
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum