Recent content by scrypt

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

  1. S

    VLAN Setup for IoT Devices

    Ya I am actually trying to cover for the corner case of a power trip, rare but happens. I don't have UPS backup, so when I am away from home this could be an issue. If I manage to host a VPN server on the router and open the port to host PC on the main subnet I can reconfigure the IP Camera and...
  2. S

    VLAN Setup for IoT Devices

    Thanks for the link, nice trick on the lease extension! It may or may not work for me like you said, I am going to bookmark it for the future. Currently all my wired devices are retaining their 192.168.102 IPs, which is great! They all go through a network switch connected on port 4 now(which...
  3. S

    VLAN Setup for IoT Devices

    I had been busy for the past couple of days so didn't make any changes to my setup, except rebooted my router and devices a few times to check on the IP statuses. Good news is like you mentioned when the device renews it gets the same IP as before! But I like the idea of having a file in JFFS...
  4. S

    VLAN Setup for IoT Devices

    I don't have the sleep statements in my script anymore. Anyway, the IP issue seems manageable, issuing dhcpclient -r on the device side or rebooting the device does the trick. I can schedule a cron job on my linux device to do this if needed. Not sure how I am going to manage with the IP...
  5. S

    VLAN Setup for IoT Devices

    Thanks @bennor. Had I known about YazFi before I would have probably gone down this path, seems to fit my need well and has a GUI so much better! However, I would still have to deploy my firewall script to allow/deny access accordingly. Now everything is setup for me correctly, except for 1...
  6. S

    VLAN Setup for IoT Devices

    Ok I reformatted the jffs partition and wrote the scripts again using vi, I had been using vi anyway so no change there, but now the scripts work! And the logger works too so I can see my log msgs in system log. I have one more issue to tackle now, the services-start script setups the LAN port...
  7. S

    VLAN Setup for IoT Devices

    Thanks @drinkingbird I got the firewall setup to work! Now devices in VLAN1 can ping VLAN501/502 devices and viceversa. And internet access to VLAN501/502 is cut off, perfect! #!/bin/sh sleep 5 #logger "!!!!!!start firewall-start script!!!!!!!" iptables -I FORWARD -m iprange --src-range...
  8. S

    VLAN Setup for IoT Devices

    1. So, I will add port 4 to 502 or 501 only that should fix that. I still need to learn about tagged/untagged vlans. 2. My IoT devices are mostly IP cameras, I don't want them to ping their manufacturer etc. or be reachable by anyone on the internet. I want them as pure LAN devices reachable on...
  9. S

    VLAN Setup for IoT Devices

    Hello, Newbie here, I am trying to setup a basic home network separating IoT devices and my personal devices. I have a Asus RT-AC68U in Router mode running Merlin firmware 386.10 sitting behind my ISP router as the WAN. I want IoT devices(both wired and wireless) to be on a separate VLAN with...
Top