
Asus RT-N12 D1
Remember that the RT-N12 D1 revision is a good bit different than the revisions before it. Most notably the B1 and C1 revisions so these instructions are specifically tailored for the Asus RT-N12 D1.
Most importantly, before proceeding your Asus RT-N12 D1 must be using Firmware version dd-wrt.v24-18774_NEWD-2_K2.6_mini.bin. If you have not yet installed this version of DD-WRT on the Asus RT-N12 D1 then head over to How to install DD-WRT on the Asus RT-N12 D1 and then come back once you’re done.
-
Connect to the router @ 192.168.1.1
note: If your Router IP is different you need to keep that in mind as you work through these instructions. You will need to substitute 192.168.1.1 for your Router IP. -
Open the Wireless -> Basic Settings tab. Make the following selections below.
- Wireless Network Name (SSID) : (input your desired private network name here)
- Click on Save at the bottom.
- Under the Virtual Interfaces section press the Add button
- Wireless Network Name (SSID):(input your desired guest network name here)
- Wireless SSID Broadcast: Enable
- AP Isolation: Enable
- Network Configuration: Bridged
- Click on Save at the bottom.
- Click on Apply Settings at the bottom.
- IMPORTANT! Do NOT try to implement Wireless Security at this time. This will need to be done at the very end.
- Open the Setup -> Networking tab
- Under Create Bridge section click Add
- type “br1” into the blank input box that is on the left side of all the options that just appeared.
- For the STP setting choose Off.
- Click on Apply Settings at the bottom.
- Under Create Bridge section new input boxes will appear (note: This new bridge needs to have an address that is in a different subnet than your main LAN.
- IP Address: 192.168.2.1
- Subnet Mask: 255.255.255.0
- Click on Save at the bottom.
- Click on Apply Settings at the bottom.
note: sometimes on the next step you need to wait a few seconds before certain options appear. Wait about 30 seconds then proceed. - Under Assign to Bridge section click Add
- Select “br1” in the left drop down menu that appears. Then for the Interface select “wl0.1” in the other.
- Click on Save at the bottom.
- Click on Apply Settings at the bottom.
- After a few seconds the Current Bridging Table should now show:
Bridge Name STP enabled Interfaces
br0 no vlan0 eth1
br1 no wl0.1
- Under the Multiple DHCP Server section click on Add.
- For the first drop down choose br1
- Click on Save at the bottom.
- Click on Apply Settings at the bottom.
- Open the Administration -> Command tab
- Within Commands text box input:
#Guest Wireless Firewall Separation from main LAN
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 -p tcp –tcp-flags SYN,RST SYN -j TCPMSS –clamp-mss-to-pmtu
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 -m state –state NEW -j DROP
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
- Click on Save Firewall
- Within Commands text box input:
- Open the Administration -> Management tab and go to the bottom. Then select Reboot Router
Test! Test! Test!
- Make sure you unplug your LAN cable for testing wireless Internet
- Make sure Both SSID’s can be accessed and Internet works
- Make sure Private SSID still has access to local network
- Make sure Guest SSID cannot access local network or router
- Once you know this all works, you can log back into the unit and go back to Wireless->Wireless Security and set the Encryption types for both the Main and Virtual Wireless interfaces.