What's new

Need help to restrict LAN4 to acccess MiniDLNA

  • 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!

Nedyalko

New Around Here
Hi,

I have Asus AC68U with Merlin v384.13. I want to restrict the devices, which are connected to LAN4 to access the MiniDLNA server on the router (192.168.10.1) It will be good if the SAMBA server is restricted as well, but it is not crucial as it is password protected.

I found the following code in the forum
Code:
# force LAN port 4 to use the Guest Network for RT-AC68U
robocfg vlan 1 ports "1 2 3 5t"
robocfg vlan 10 ports "4 5t"
vconfig add eth0 10
ifconfig vlan10 up
brctl addif br0 vlan10
ebtables -t broute -I BROUTING -p IPv4 -i vlan10 --ip-dst 192.168.1.0/24 --ip-proto tcp -j DROP
ebtables -t filter -I FORWARD -i vlan10 -o ! eth0 -j DROP
ebtables -t filter -I FORWARD -i ! eth0 -o vlan10 -j DROP

It is good, but I noticed that I do not see the device on LAN4 anywhere in the ASUS webpage - they are missing in the clients list, Bandwidth Monitor, etc. I also want to have access to Devices on LAN4 from the devices on Wireless, LAN 1-3

Thank you in advance for your help.
 

Latest threads

Sign Up For SNBForums Daily Digest

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