elsom25
New Around Here
I've been trying to get this to work (I'd really like to be able to limit/throttle my guest network), and thus far I've had little luck.
Your post was super helpful in getting started, but it seems I'm not able to get an IP.
First, I have the first guest network, 2.4Ghz enabled, as an Open System with intranet access.
And of pertinence in the logs, before it establishes the DHCP, I always get:
, so not too sure why it can't find my guest network...
Your post was super helpful in getting started, but it seems I'm not able to get an IP.
First, I have the first guest network, 2.4Ghz enabled, as an Open System with intranet access.
Code:
[admin@RT-AC68U] Wed 23:48:47 [6 files] /jffs
[1:25]+# ebtables --list
Bridge table: filter
Bridge chain: INPUT, entries: 0, policy: ACCEPT
Bridge chain: FORWARD, entries: 0, policy: ACCEPT
Bridge chain: OUTPUT, entries: 0, policy: ACCEPT
Code:
[admin@RT-AC68U] Wed 23:48:47 [6 files] /jffs
[1:25]+# less /jffs/scripts/wan-start
#!/bin/sh
# start 2.4Ghz guest WiFi with separate DHCP/DNS
/sbin/ifconfig wl0.1 192.168.10.1 netmask 255.255.255.0
/usr/sbin/ebtables -t broute -I BROUTING -p ipv4 -i wl0.1 -j DROP
/usr/sbin/ebtables -t broute -I BROUTING -p ipv6 -i wl0.1 -j DROP
/usr/sbin/ebtables -t broute -I BROUTING -p arp -i wl0.1 -j DROP
/usr/sbin/iptables -I FORWARD -i wl0.1 -j ACCEPT
/usr/sbin/iptables -I INPUT -i wl0.1 -j ACCEPT
/usr/sbin/iptables -I FORWARD -i wl0.1 -d 192.168.1.1/24 -j DROP
/usr/sbin/iptables -I INPUT -i wl0.1 -d 192.168.1.1/24 -j DROP
/sbin/service restart_dnsmasq
Code:
[admin@RT-AC68U] Wed 23:48:47 [6 files] /jffs
[1:25]+# less /jffs/configs/dnsmasq.conf.add
interface=wl0.1
dhcp-range=wl0.1,192.168.15.200,192.168.15.254,255.255.255.0,86400s
dhcp-option=wl0.1,3,192.168.10.1
dhcp-option=wl0.1,6,8.8.8.8,8.8.4.4
And of pertinence in the logs, before it establishes the DHCP, I always get:
Code:
warning: interface wl0.1 does not currently exist