setting up wireless access point (WAP) on WRT1900ACSv2

Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Author Message
Cold-Lemonade
DD-WRT Novice


Joined: 27 Mar 2021
Posts: 39

PostPosted: Fri Aug 19, 2022 10:48    Post subject: setting up wireless access point (WAP) on WRT1900ACSv2 Reply with quote
I am having trouble finding information about how to set up a wireless access point on my Linksys WRT1900ACSv2. Here's what I'm trying to do:

I have a Netgear r7000 running DD-WRT v3.0-r49567 std (07/27/22) which connects to my ISP. I've run an ethernet cable to another part of my house where the wifi signal is weak. I'd like to connect this cable to the WAN port on my WRT1900ACSv2 so that the WAN port acts as just another LAN port. The WRT1900ACSv2 would broadcast the same SSID as the r7000.

Can someone please offer some guidance?
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12884
Location: Netherlands

PostPosted: Fri Aug 19, 2022 10:56    Post subject: Reply with quote
For one if you do not need the WAN port do not use it, for some routers the WAN is alwasy routed via the CPU and is slower and or you can have problems with VLANS's

I use port 4 as connecting port Smile

Setting up a WAP is fairly simple, this is the way I do it:

A Wireless Access Point is a secondary router connected wired LAN<>LAN on the same subnet as the primary router:
• WAN disabled
• DHCP server Disabled (=off and NOT set as Forwarder!)
• Local IP address in subnet of primary router but outside DHCP scope, make sure the used IP address is unique on your network you cannot have duplicates.
You can run udhcpc to give the WAP a static lease but because you can it doesn't mean you should Wink
• Gateway and Local DNS pointing to primary router
• DNSMasq enabled
• Router kept in the default Gateway mode (the wiki says Router mode but do not do that, either it does not matter (this case) or break things)
• Connect LAN <> LAN (do not use the WAN port unless you really need that extra port, for most routers traffic still must use the CPU so performance is lacklustre )
• I do not change the Firewall settings although you do not want a firewall, the Firewall is automatically disabled as there is no WAN, but it does not hurt to follow the wiki and Disable the Firewall anyway.


If setup you have to add the following rule to the firewall in order to get internet access from unbridged interfaces e.g. an ubridged VAP or Bridge.
In the web-interface of the router (the WAP): Administration/Commands save Firewall:
#Always necessary (alternatively set static route on main router and NAT traffic from VAP/Bridge out via WAN):
iptables -t nat -I POSTROUTING -o br0 -j SNAT --to $(nvram get lan_ipaddr)

#Replace with the appropriate interface of your VAP, e.g. wl0.1, wlan0.1 etc:
GUEST_IF="wlan1.1"
#Net Isolation does not work on a WAP so keep it disabled, add for isolating VAP/Bridge 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:
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

(note: not all firmwares have the multiport directive)

Of course there is also a wiki but I deviate from it on some points

_________________
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


Last edited by egc on Mon Aug 22, 2022 15:26; edited 1 time in total
Cold-Lemonade
DD-WRT Novice


Joined: 27 Mar 2021
Posts: 39

PostPosted: Fri Aug 19, 2022 17:41    Post subject: Reply with quote
Thank you again @egc. I didn't know that using the WAN port as a LAN port is slows down the throughput. That is very useful information.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12884
Location: Netherlands

PostPosted: Fri Aug 19, 2022 17:48    Post subject: Reply with quote
It depends on router model, but in general better avoid the wan port if possible.
_________________
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
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.) 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