Internet Access Only Router: Separate Each Ethernet Port Using DD-WRT

Uncategorized

Summary The aim is using another Ubee router ip to connect pcs to the web while ensuring they don’t see other pcs on the LAN. DD WRT have to be placed on the secondary router. Client Mode wireless is utilized to wirelessly join the secondary router on the main wireless router for the objective of providing internet access to other computers plugged into the secondary router. Each bodily port on the rear of the wireless router will be placed into its very own VLAN (Virtual Local Area Network). Finally, firewall rules are put into the wireless router to stop interaction between VLANs and also the majority of the LAN.

The following guidance have been composed especially for DD WRT v24 preSP2 operating on the WRT54GS 1.0, though they need to work fine on any wireless router which supports VLANs.

IMPORTANT NOTE in case you’re utilizing the WAN port rather than Client Mode wireless: On the Setup > Networking page, don’t establish VLAN1 to Unbridged neither give it a DHCP server.

Go to 192.168.1.1 in the internet browser of yours and set the Password and Username.

Click Save.

Click Save, then Apply Settings.

Disconnect the strength for thirty seconds then plug it back in. Hold out for the lights to go back to normal.

Click Save, then Apply Settings.

Set the Subnet Mask to 255.555.255.0

Click Apply Settings.

Disconnect the strength for thirty seconds then plug it back in. Hold out for the lights to go back to normal.

Click Save, then Apply Settings.

Set the Subnet Mask to 255.555.255.0

Click Save, then Apply Settings.

iptables -I FORWARD -i vlan+ -o vlan+ -j DROPiptables -I FORWARD -s 192.168.1.0/255.255.255.0 -j DROP

iptables -I FORWARD -i vlan+ -o vlan1 -j ACCEPTiptables -I FORWARD -i vlan1 -o vlan+ -j ACCEPT