Guest Network on VAP Cannot Access the Internet

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


Joined: 10 Nov 2021
Posts: 7

PostPosted: Fri Mar 01, 2024 21:34    Post subject: Guest Network on VAP Cannot Access the Internet Reply with quote
Hello,

I'm working with 2 ArcherC7v5's with r55209 firmware. One is the gateway router and the other is a VAP with no WAN.

Guest wifi on the gateway router works correctly. I followed this guide:
https://wiki.dd-wrt.com/wiki/index.php/Guest_WiFi_%2B_abuse_control_for_beginners

If the VAP router is bridged, then I can access the internet.

But when I follow this guide: https://wiki.dd-wrt.com/wiki/index.php/Guest_Network#VAP_with_no_WAN

I am able to connect to the VAP and get the expected ip address (therefore DHCP is working), but I can't ping 8.8.8.8.

The interface name is correct - I changed it from wl0.1 to wlan0.1.

Any ideas?
Sponsor
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3006
Location: Germany

PostPosted: Sat Mar 02, 2024 9:07    Post subject: Reply with quote
better guidance

https://github.com/egc112/ddwrt/blob/main/DDWRT%20Virtual%20Access%20Point-6.pdf

see page 9

_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
moniker5438
DD-WRT Novice


Joined: 10 Nov 2021
Posts: 7

PostPosted: Sat Mar 02, 2024 18:02    Post subject: Reply with quote
Thank you, I should have mentioned I followed that document as well and found a few missing details such as setting the operating mode to Gateway and enabling the SPI firewall, but it still didn't work.

One detail I did not mention in my original post is the routers are not wired LAN to LAN. They are connected wirelessly by a station bridge. I don't think that should matter because I am trying to share internet from br0 in either case.

I thought this one line should accomplish that goal:

Code:
iptables -t nat -I POSTROUTING -o br0 -j SNAT --to $(nvram get lan_ipaddr)


If I save only that one line as the firewall (on the station bridge router), then I can't ping that router anymore and I have to wire in through the LAN to reset the firewall.

Any ideas?
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1958

PostPosted: Sat Mar 02, 2024 19:59    Post subject: Reply with quote
Dual-band router. Use one radio for bridge and the other as an AP. Did you manually add the gateway IP address to the Station Bridge interface?

https://wikidevi.wi-cat.ru/TP-LINK_Archer_C7_v5.x

_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
moniker5438
DD-WRT Novice


Joined: 10 Nov 2021
Posts: 7

PostPosted: Sat Mar 02, 2024 20:47    Post subject: Reply with quote
Yes, I have been using one radio for the bridge and the other as an AP successfully for a long time, but now I'm trying to share internet access from br0 (on the station bridge router) to an unbridged VAP (guest wifi on the station bridge router).

Yes, on the station bridge router > Setup > Basic Setup > Network Setup > Gateway is set to the IP address of the primary router.

Thank you.
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1958

PostPosted: Sat Mar 02, 2024 21:17    Post subject: Reply with quote
That is not what I am referring to. The setting I am referring to is on the Wireless tab. You have the option of setting it to use DHCP for Station mode and Manual for Station Bridge mode.
_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
moniker5438
DD-WRT Novice


Joined: 10 Nov 2021
Posts: 7

PostPosted: Sat Mar 02, 2024 21:41    Post subject: Reply with quote
Yes, Wireless > Basic Settings > Wireless Interface:
Radio Mode: Station Bridge (Routed)
Default GW Mode: Manual
Gateway: IP address of the primary router

Thank you.
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