Created guest access, can connect, but webpages don't load

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2, 3  Next
Author Message
Kirkman
DD-WRT Novice


Joined: 16 Aug 2018
Posts: 3

PostPosted: Thu Aug 16, 2018 1:35    Post subject: Created guest access, can connect, but webpages don't load Reply with quote
Hi all,

I'm using a Linksys E1000 v2.1 with DD-WRT v24-sp2 (03/25/13) mini - build 21061.

I followed the steps in this tutorial to enable a guest access point.

This is my second go-round at trying to enable guest wifi access. The first time around, guests who tried to connect to the network would get an incorrect password message, even though they typed the right password.

After following that tutorial today, I can successfully connect my iPhone to the guest wifi. I get an IP address assigned. Everything looks great.

But if I try to visit a website, the browser stalls and eventually errors with "Safari could not open the page because the server stopped responding." My daughters' Chromebook gave similar errors.

However, I *can* successfully get to websites I host on my local network: the router gui (192.168.1.1) as well as a telnet BBS.

I can't figure out what I'm doing wrong. My best guess is that it's DNS-related. I am using OpenDNS on the main wifi to filter objectionable websites. I'd like to do the same on the guest wifi.

Here are my configuration screen shots. Does anything obvious look amiss?



Screen Shot 2018-08-15 at 8.02.06 PM.png
 Description:
 Filesize:  38.03 KB
 Viewed:  5398 Time(s)

Screen Shot 2018-08-15 at 8.02.06 PM.png



Screen Shot 2018-08-15 at 8.07.51 PM.png
 Description:
 Filesize:  92.76 KB
 Viewed:  5398 Time(s)

Screen Shot 2018-08-15 at 8.07.51 PM.png



Screen Shot 2018-08-15 at 8.02.21 PM.png
 Description:
 Filesize:  65.39 KB
 Viewed:  5398 Time(s)

Screen Shot 2018-08-15 at 8.02.21 PM.png


Sponsor
bushant
DD-WRT Guru


Joined: 18 Nov 2015
Posts: 2036

PostPosted: Thu Aug 16, 2018 1:58    Post subject: Reply with quote
Try Kong's method: http://tips.desipro.de/2013/12/06/guest-wifi-setup-dd-wrt/
_________________
Forum Guide Lines (with helpful pointers about how to research your router, where and what firmware to download, where and how to post and many other helpful tips!)
How to get help the right way

Before asking for help - Read the forum guidelines AND Upgrade DD-WRT!
Adblock by eibgrad (1.1M blocked) + Blocklist Collection

kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14221
Location: Texas, USA

PostPosted: Thu Aug 16, 2018 3:01    Post subject: Reply with quote
Would probably also be beneficial to do some researching through build threads for a stable newer build as well. Router database update is (still!) incorrect as it defaults to more recent builds (which *may* have broken VAPs).
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12884
Location: Netherlands

PostPosted: Thu Aug 16, 2018 16:11    Post subject: Reply with quote
your build is to old, unfortunately recent builds also have problems with VAP's.
Maybe the last working build with a VAP is 36104, build 31899 is also mentioned as working.
Research the build threads.

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
rickmav3
DD-WRT User


Joined: 08 Sep 2014
Posts: 145

PostPosted: Thu Aug 16, 2018 19:00    Post subject: Reply with quote
• Install build 05-13-2018-r35927 or 11-16-2017-r33772.
• Use WPA2 Personal with AES for Wireless Security.
• Do bridging as you already did: create VAP bridged, new bridge br1, assign wl0.1 to it, add DHCP to br1.
• Remove all lines from DNSMasq Options.
• Add to Firewall:
Code:

iptables -t nat -I POSTROUTING -o `get_wanface` -j SNAT --to `nvram get wan_ipaddr`
iptables -I FORWARD -i br1 -m state --state NEW -j ACCEPT
iptables -I FORWARD -i br1 -o br0 -m state --state NEW -j DROP
iptables -I FORWARD -i br0 -o br1 -m state --state NEW -j DROP
iptables -I INPUT -i br1 -p tcp --dport telnet -j REJECT --reject-with tcp-reset
iptables -I INPUT -i br1 -p tcp --dport ssh -j REJECT --reject-with tcp-reset
iptables -I INPUT -i br1 -p tcp --dport www -j REJECT --reject-with tcp-reset
iptables -I INPUT -i br1 -p tcp --dport https -j REJECT --reject-with tcp-reset
iptables -I INPUT -i br1 -p udp --dport 67 -j ACCEPT
iptables -I INPUT -i br1 -p udp --dport 53 -j ACCEPT
iptables -I INPUT -i br1 -p tcp --dport 53 -j ACCEPT

Enjoy!
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12884
Location: Netherlands

PostPosted: Fri Aug 17, 2018 8:14    Post subject: Reply with quote
Modern builds take care of the firewall rules, so you do not need any for a simple setup on a primary router.

Attached my notes how I set up a simple guest VAP on a modern build. There are however more ways to do it (yes you can create br1, and yes you can use DNSMAsq options to configure Smile )

The problems with a VAP on recent builds however is real, the latest firmware build can probably work with some extra tweaking, in the build thread also alternative earlier firmwares are discussed, see: https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1138176#1138176



DDWRT Virtual Access Point Public.doc
 Description:

Download
 Filename:  DDWRT Virtual Access Point Public.doc
 Filesize:  250 KB
 Downloaded:  206 Time(s)


_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Kirkman
DD-WRT Novice


Joined: 16 Aug 2018
Posts: 3

PostPosted: Fri Aug 17, 2018 16:23    Post subject: Reply with quote
rickmav3 wrote:
• Install build 05-13-2018-r35927 or 11-16-2017-r33772.


I'm trying build 05-13-2018-r35927 right now.

I managed to resurrect all my settings (port forwarding and such for my BBS), but I cannot get the guest wifi to appear in my list of available networks on the iPhone.

So far I've tried several tutorials using bridged and unbridged techniques.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12884
Location: Netherlands

PostPosted: Fri Aug 17, 2018 16:27    Post subject: Reply with quote
For these older builds a reboot is often necessary to get DNSMasq working so give that a try
_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
rickmav3
DD-WRT User


Joined: 08 Sep 2014
Posts: 145

PostPosted: Fri Aug 17, 2018 20:51    Post subject: Reply with quote
Kirkman wrote:
rickmav3 wrote:
• Install build 05-13-2018-r35927 or 11-16-2017-r33772.


I'm trying build 05-13-2018-r35927 right now.

I managed to resurrect all my settings (port forwarding and such for my BBS), but I cannot get the guest wifi to appear in my list of available networks on the iPhone.

So far I've tried several tutorials using bridged and unbridged techniques.


Do not restore config, do manual setup after resetting first to Default.
Add VAP bridged and separate after. Follow the guide exactly.
Kirkman
DD-WRT Novice


Joined: 16 Aug 2018
Posts: 3

PostPosted: Sun Aug 19, 2018 12:55    Post subject: Reply with quote
Kirkman wrote:
rickmav3 wrote:
• Install build 05-13-2018-r35927 or 11-16-2017-r33772.


I'm trying build 05-13-2018-r35927 right now.

I managed to resurrect all my settings (port forwarding and such for my BBS), but I cannot get the guest wifi to appear in my list of available networks on the iPhone


Turns out there were many other problems besides the guest VAP. WiFi was intermittent, and connections were constantly being lost and reopened. None of my port forwarding rules were working.

So I have ditched this build and I'm now trying 11-16-2017-33772. So far it seems much more stable. In fact, since upgrading this morning I have not had a single instance of the browser timing out while saving settings, which has always been a problem for me with DD-WRT.

Fingers crossed that this is an ideal version for me. I'll try the VAP stuff later on.
orif
DD-WRT User


Joined: 03 Oct 2018
Posts: 52

PostPosted: Mon Dec 10, 2018 14:33    Post subject: Reply with quote
Just to let the community know that I lost 1 day in researching many different topics related to the DD-WRT (lack of functional) VAP issue and then lost another 1 day testing the builds below on my Lynksys WRT54GL 1.1 without any success.
33772
34311
35927
36527
37932

I am extremely disappointed and cannot understand:
1. How come this VAP issue (guest networks have no internet) persists for more than 1 year now and there is no one to fix it
2. How come there is not a single member of this large DD-WRT community to drop a single line on this forum, something like ‘Hey buddy, I am running build XXXXX and the guest networks are functioning properly’

2 days lost, still no working guest networks, big disappointment. At least I hope that I will help someone with the information I shared.
jwh7
DD-WRT Guru


Joined: 25 Oct 2013
Posts: 2670
Location: Indy

PostPosted: Mon Dec 10, 2018 15:23    Post subject: Reply with quote
orif wrote:
2 days lost, still no working guest networks, big disappointment. At least I hope that I will help someone with the information I shared.
The workaround to fix it is in my build threads, and many others regarding the VAP issue. Brainslayer has been told many times, but his device(s) works fine...so here we are; I gave up reporting it. :-/

I heard Kong has it fixed in his M builds, but I don't have a capable device.

As I recall, 33772 shouldn't have an issue with VAPs. Which method did you use? I presume you followed the wiki...

_________________
# NAT/SFE/CTF: limited speed w/ DD # Repeater issues # DD-WRT info: FAQ, Builds, Types, Modes, Changes, Demo #
OPNsense x64 5050e ITX|DD: DIR-810L, 2*EA6900@1GHz, R6300v1, RT-N66U@663, WNDR4000@533, E1500@353,
WRT54G{Lv1.1,Sv6}@250
|FreshTomato: F7D8302@532|OpenWRT: F9K1119v1, RT-ACRH13, R6220, WNDR3700v4
orif
DD-WRT User


Joined: 03 Oct 2018
Posts: 52

PostPosted: Mon Dec 10, 2018 16:28    Post subject: Reply with quote
So would you please post a link to a working solution or a build number?

I do a 30-30-30, flash different build, then 30-30-30 again, then set up VAPs and other settings. I don't paste any code and have no experience with this.
jwh7
DD-WRT Guru


Joined: 25 Oct 2013
Posts: 2670
Location: Indy

PostPosted: Mon Dec 10, 2018 18:17    Post subject: Reply with quote
orif wrote:
So would you please post a link to a working solution or a build number?
There is a link to the wiki in my previous post; I personally use the dnsmasq method. Unless there is something w/ that model or hardware (mrjcd recently tested a VAP on a WRT54*), the latest build with the workaround should be fine; it's build thread also has the workaround listed. For testing w/o the workaround: after you set it up, reboot again then click 'apply' at the bottom of the wireless section. The workaround is to restart services post-reboot.

Is this a gateway or access point, or what? For an AP, you also need the "VAP with no WAN" iptables additions from the wiki.

Also, you don't need to 30-30-30. If you're updating from an old build, changing modes, or had previously setup VPN or VLANs, then a GUI reset is sufficient.

_________________
# NAT/SFE/CTF: limited speed w/ DD # Repeater issues # DD-WRT info: FAQ, Builds, Types, Modes, Changes, Demo #
OPNsense x64 5050e ITX|DD: DIR-810L, 2*EA6900@1GHz, R6300v1, RT-N66U@663, WNDR4000@533, E1500@353,
WRT54G{Lv1.1,Sv6}@250
|FreshTomato: F7D8302@532|OpenWRT: F9K1119v1, RT-ACRH13, R6220, WNDR3700v4
orif
DD-WRT User


Joined: 03 Oct 2018
Posts: 52

PostPosted: Tue Dec 11, 2018 9:39    Post subject: Reply with quote
Thank you, however this code (New DNSMasq Method):
https://wiki.dd-wrt.com/wiki/index.php/Guest_Network#New_DNSMasq_Method
interface=wl0.1
dhcp-option=wl0.1,3,192.168.7.1
dhcp-range=wl0.1,192.168.7.2,192.168.7.60,255.255.255.0,12h

doesn't work on build 35531. Anything else to try?
Goto page 1, 2, 3  Next Display posts from previous:    Page 1 of 3
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware 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 can attach files in this forum
You can download files in this forum