Guest Network on DHCP Forwarder

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
JoeGeek
DD-WRT Novice


Joined: 15 May 2016
Posts: 25

PostPosted: Wed Mar 22, 2017 16:19    Post subject: Guest Network on DHCP Forwarder Reply with quote
Does anyone know how to set up an isolated guest network for a router that is set up as a wireless access point (DHCP forwarder, not DHCP server)?

I'm using an R7000 with v3.0-r29300M kongav. I want to set it up so the primary wlo wi-fi signal is a guest network that doesn't have any access to the rest of the network. I will have a couple of ethernet devices connected to the R7000 that I want to keep on my main network. I've been all over the place on this but can't find a solution.

Thank-you for your assistance!
JoeGeek
Sponsor
JoeGeek
DD-WRT Novice


Joined: 15 May 2016
Posts: 25

PostPosted: Wed Mar 22, 2017 18:15    Post subject: Reply with quote
I found this thread: http://www.dd-wrt.com/phpBB2/viewtopic.php?p=1047143#1047143

I should probably update firmware before proceding, I'll let you know if I'm successful.
JoeGeek
DD-WRT Novice


Joined: 15 May 2016
Posts: 25

PostPosted: Thu Mar 23, 2017 1:14    Post subject: Reply with quote
Still no success after complying with the previously referenced thread. I can connect to the network, but I get "no internet connection".

Additional information:

Main router: WRT1900ACS running dd-wrt
R7000 Router is the WAP that I'm using as the guest network. I want to use the wireless physical interface (wl0) as the guest network.

R7000 settings:
DD-WRT v3.0-r31575M kongac

Settings > Network Setup
DHCP type: DHCP server
DHCP server disabled

Wireless > Basic Settings
Unbridged
Net isolation disabled
IP address different from primary address used in main router
Subnet 255.255.255.0

Services > Services
DNSMasq enabled, the remaining options are disabled
Additional DSNMasq Options code:
interface=wl0
dhcp-option=wl0,3,192.168.1.1
dhcp-range=wl0,192.168.1.2,192.168.1.11,255.255.255.0,12h

Admin > Commands for firewall:
iptables -I FORWARD -i wl0 -d `nvram get lan_ipaddr`/`nvram get lan_netmask` -m state --state NEW -j DROP
iptables -t nat -I POSTROUTING -o br0 -j SNAT --to `nvram get lan_ipaddr`

I think I got all of it, but some of the commands I didn't understand.
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6291
Location: Texas

PostPosted: Thu Mar 23, 2017 3:33    Post subject: Reply with quote
Create VAP on wl0.1 and use that for guest.

You can set wl0 SSID disabled + unknown SSID + very strong WPA2 AES password and forget about it.
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6870
Location: Romerike, Norway

PostPosted: Thu Mar 23, 2017 8:56    Post subject: Reply with quote
1) Enable NAT for the guest network on the main router.
2) Put a static route to the guest network on the main router.

Can you ping the main router from the guest network?
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6291
Location: Texas

PostPosted: Thu Mar 23, 2017 10:55    Post subject: Re: Guest Network on DHCP Forwarder Reply with quote
JoeGeek wrote:
Does anyone know how to set up an isolated guest network for a router that is set up as a wireless access point (DHCP forwarder, not DHCP server)?

I'm using an R7000 with v3.0-r29300M kongav. I want to set it up so the primary wlo wi-fi signal is a guest network that doesn't have any access to the rest of the network. I will have a couple of ethernet devices connected to the R7000 that I want to keep on my main network. I've been all over the place on this but can't find a solution.

Thank-you for your assistance!
JoeGeek

You do not use DHCP forwarder for a WAP....All on same subnet...
JoeGeek
DD-WRT Novice


Joined: 15 May 2016
Posts: 25

PostPosted: Thu Mar 23, 2017 15:08    Post subject: Reply with quote
Quote:
You do not use DHCP forwarder for a WAP....All on same subnet...


I have another WAP that also has DHCP Forwarder selected. It's been working, but I'll switch to DHCP Server and see if it's faster. Looks like I've been doing it wrong all this time!

Thanks for the insight on guest network, I'll keep trying your suggestions and let you know how it turns out.
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6291
Location: Texas

PostPosted: Thu Mar 23, 2017 17:08    Post subject: Reply with quote
JoeGeek wrote:
Quote:
You do not use DHCP forwarder for a WAP....All on same subnet...


I have another WAP that also has DHCP Forwarder selected. It's been working, but I'll switch to DHCP Server and see if it's faster. Looks like I've been doing it wrong all this time!

Thanks for the insight on guest network, I'll keep trying your suggestions and let you know how it turns out.


Don't need any type of DHCP on this unit if this is a WAP.
Best to setup as long version decribes
http://www.dd-wrt.com/wiki/index.php/Wireless_Access_Point#Long_Version

Then setup guests as link in your 2nd post
JoeGeek
DD-WRT Novice


Joined: 15 May 2016
Posts: 25

PostPosted: Thu Mar 23, 2017 23:37    Post subject: Reply with quote
Quote:
You can set wl0 SSID disabled + unknown SSID + very strong WPA2 AES password and forget about it.


Yay, that did it! Can't have a guest network on the physical interface, it needed to be on a virtual interface.

Thank-you mrjcd
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6291
Location: Texas

PostPosted: Fri Mar 24, 2017 0:35    Post subject: Reply with quote
JoeGeek wrote:
Quote:
You can set wl0 SSID disabled + unknown SSID + very strong WPA2 AES password and forget about it.


Yay, that did it! Can't have a guest network on the physical interface, it needed to be on a virtual interface.

Thank-you mrjcd

Yay glad you got it sorted.
You could separate the physical interface but is really more work and this way is just
a no-nonsense way to do it with less input from the user Cool
Display posts from previous:    Page 1 of 1
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