Greetings
I have an ASUS RT-N66R running Merlin 3.0.0.4.374.39.
I would like to create a VLAN for one of the LAN ports that will allow another user to share the internet connection but not have access to the main VLAN.
Based on what I have gleaned from the readme and other threads I need to create services.start in /jffs/scripts with the following content:
#!/bin/sh
#separate port 3 from other ports
robocfg vlan 3 ports "3 8t"
#create vlan3
vconfig add eth0 3
#we'll use a bridge to get internet access
brctl addif br0 vlan3
#bring up vlan3
ifconfig vlan3 up
#add rule for vlan3
iptables -I INPUT 1 -i vlan3 -j ACCEPT
# end of config
Is this all that is needed to create the VLAN? Did I capture the syntax correctly? Are there any other commands needed?
thank you
Brad
I have an ASUS RT-N66R running Merlin 3.0.0.4.374.39.
I would like to create a VLAN for one of the LAN ports that will allow another user to share the internet connection but not have access to the main VLAN.
Based on what I have gleaned from the readme and other threads I need to create services.start in /jffs/scripts with the following content:
#!/bin/sh
#separate port 3 from other ports
robocfg vlan 3 ports "3 8t"
#create vlan3
vconfig add eth0 3
#we'll use a bridge to get internet access
brctl addif br0 vlan3
#bring up vlan3
ifconfig vlan3 up
#add rule for vlan3
iptables -I INPUT 1 -i vlan3 -j ACCEPT
# end of config
Is this all that is needed to create the VLAN? Did I capture the syntax correctly? Are there any other commands needed?
thank you
Brad