Setting up Guest Wifi On DD-WRT
I am a huge fan of DD-WRT but the problem I have is when i turned I turned DHCP forwarding on I lost the ability to have a "guest network".
I tried every tutorial online and none of them worked.
So after much trial and error I figured it out!
This video is a quick and easy way how to setup a guest network if your DHCP forwarding is on.
###### Firewall CODE #####
#Allow guest bridge access to Internet
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
#Block access between private and guest
iptables -I FORWARD -i br0 -o br1 -m state --state NEW -j DROP
iptables -I FORWARD -i br1 -d `nvram get lan_ipaddr`/`nvram get lan_netmask` -m state --state NEW -j DROP
#NAT to make Internet work
iptables -t nat -I POSTROUTING -o br0 -j SNAT --to `nvram get lan_ipaddr`
#Block torrent and p2p
#change the IP address to the IP of your guest network x.x.x.x/24
iptables -I FORWARD -p tcp -s 192.168.99.0/24 -m connlimit --connlimit-above 50 -j DROP
iptables -I FORWARD -p ! tcp -s 192.168.99.0/24 -m connlimit --connlimit-above 25 -j DROP
#Block guest access to router services
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
Видео Setting up Guest Wifi On DD-WRT канала Odian The Linux guy
I tried every tutorial online and none of them worked.
So after much trial and error I figured it out!
This video is a quick and easy way how to setup a guest network if your DHCP forwarding is on.
###### Firewall CODE #####
#Allow guest bridge access to Internet
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
#Block access between private and guest
iptables -I FORWARD -i br0 -o br1 -m state --state NEW -j DROP
iptables -I FORWARD -i br1 -d `nvram get lan_ipaddr`/`nvram get lan_netmask` -m state --state NEW -j DROP
#NAT to make Internet work
iptables -t nat -I POSTROUTING -o br0 -j SNAT --to `nvram get lan_ipaddr`
#Block torrent and p2p
#change the IP address to the IP of your guest network x.x.x.x/24
iptables -I FORWARD -p tcp -s 192.168.99.0/24 -m connlimit --connlimit-above 50 -j DROP
iptables -I FORWARD -p ! tcp -s 192.168.99.0/24 -m connlimit --connlimit-above 25 -j DROP
#Block guest access to router services
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
Видео Setting up Guest Wifi On DD-WRT канала Odian The Linux guy
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Creación y Configuración de Vlans con OpenWrt](https://i.ytimg.com/vi/vFui2TDM3DQ/default.jpg)
![Install dd-wrt on a Linksys WRT54GS2](https://i.ytimg.com/vi/yA8neJFtuJA/default.jpg)
![Ubiquiti Guest WiFi Setup](https://i.ytimg.com/vi/C7CGY0BTFCM/default.jpg)
![Setup Virtual Access Point (VAP) better known as Gust Wi-Fi On DD-WRT v3.0 Flashed router](https://i.ytimg.com/vi/C-N1b42WNSA/default.jpg)
![DD WRT Router Configuration Part 1](https://i.ytimg.com/vi/ZVKoy_z3aj4/default.jpg)
![Replacing Electrolytic Capacitors](https://i.ytimg.com/vi/iPCAYOz80Xw/default.jpg)
![[HOWTO] Set Up DD-WRT Repeater (Extend WiFi Range)](https://i.ytimg.com/vi/rmB7n-ABNaA/default.jpg)
![How to Install DD-WRT on a Linksys WRT1900AC Router](https://i.ytimg.com/vi/oRk5UMxE2Mk/default.jpg)
![DD-WRT - Présentation de l'interface et des possibilités](https://i.ytimg.com/vi/na0sJqtTKE4/default.jpg)
![Which one is the best firmware for my wireless router?](https://i.ytimg.com/vi/5Onz9YTCMzY/default.jpg)
![How to Have One UniFi AP-AC-LR & Two WiFi Networks with pfsense, VLANS, & No Managed Switch.](https://i.ytimg.com/vi/DL4vMLgBrYI/default.jpg)
![Dreamweaver vs WordPress, Which One's Best? | tentononline.com](https://i.ytimg.com/vi/HwttiZfhDeQ/default.jpg)
![How To Separate Your Home Guest Wifi From Your Main Network](https://i.ytimg.com/vi/skZwINLMXSk/default.jpg)
![TP Link Router Recovery From Bricked TFTP Method WR940N No Serial Connection Required Works on Most](https://i.ytimg.com/vi/ZW5fpOWpI0I/default.jpg)
![VLANs and Trunks for Beginners - Part 1](https://i.ytimg.com/vi/aBOzFa6ioLw/default.jpg)
![VLANs on Edgerouter](https://i.ytimg.com/vi/nustDJWm9DU/default.jpg)
![How to upgrade your wireless router with DD-WRT (TP-Link TL-WR1043ND v1.8)](https://i.ytimg.com/vi/KNwF_V5fTwk/default.jpg)
![How To Setup VLANS With pfsense & UniFI. Also how to build for firewall rules for VLANS in pfsense](https://i.ytimg.com/vi/b2w1Ywt081o/default.jpg)
![How to install DD-WRT on your Router](https://i.ytimg.com/vi/qvLN40iMM_c/default.jpg)
![How to setup a Mikrotik Hotspot with usermanager](https://i.ytimg.com/vi/QnSuS88Np_s/default.jpg)