What's new

Guest Network On Port 4 Switch AC5300

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

jbschirtz

New Around Here
Hey guys. I've got some Ubiquiti access points that I want to isolate for guest access only. I have everything I want isolated plugged in on port 4 on an AC5300 running merlin firmware version 384.15.

I've read the following links:

https://www.snbforums.com/threads/f...network-for-asus-merlin-rt-ac68u.18969/page-3
https://www.snbforums.com/threads/connecting-2-vlans-for-2-guest-wifi.60126/page-2#post-526228

In light of those links, I've tried the following script:

Code:
#! /bin/sh
# force LAN port 4 to use the Guest Network
robocfg vlan 1 ports "1 2 3 5 7 8t"
robocfg vlan 2 ports "0 8u"
robocfg vlan 100 ports "4 8t"
vconfig add eth0 brctl addif br0 vlan100
ebtables -t broute -I BROUTING -p IPv4 -i vlan100 --ip-dst 192.168.1.0/24 --ip-proto tcp -j DROP
ebtables -t filter -I FORWARD  -i vlan100 -o ! vlan2 -j DROP
ebtables -t filter -I FORWARD  -i ! vlan2 -o vlan100 -j DROP

For the sake of testing, I commented out the ebtables rules assuming I should be able to get to vlan100 from a computer plugged into vlan1. Ultimately, I am seeking to eliminate web interface access to the 192.168.1.0 network router. When I try to access vlan100 from the computer on vlan1, I cannot reach it. Clearly, either my assumption is wrong, or the code I am using is somehow wrong. Anyone know of anything I am missing?
 
Are you using a Unifi controller? If so, create a guest network on the controller. Looks like your issue will be dealing with VLAN's on the Asus.
 
Are you using a Unifi controller? If so, create a guest network on the controller. Looks like your issue will be dealing with VLAN's on the Asus.


No. We are not using a Unifi controller although that was the semi-aim of introducing the Asus. I'll look into that. In the meantime, if anyone has a solution for the 5300 I'd be interested to know that as well.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top