8.9 C
New York
Monday, March 10, 2025

Learn how to Configure VLAN on OpenWRT for Separate Work Community with Web Entry


I am making an attempt to arrange a separate VLAN for my work community utilizing OpenWRT, whereas retaining it remoted from my residence community however nonetheless having web entry. This is my present setup:

  • Important Router (HGU from Movistar): Supplies web entry with DHCP
    enabled, utilizing IP vary 192.168.1.x.
  • OpenWRT Router: Linked to the HGU. It is set to 192.168.2.1 and will deal with the work community.

Goal:

  • Join the HGU to port 1 on the OpenWRT router.
  • Use port 4 on the OpenWRT router for the work community, remoted from the house community.
  • Make sure the work community has web entry.

Present Configuration:

  1. VLAN Setup:
  • VLAN 1: Port 1 (related to HGU) is untagged.
  • VLAN 2: Port 4 is untagged, CPU (eth0) is tagged.
  1. Interface Settings for VLAN:
  • System: eth0.2
  • Protocol: Static handle
  • IPv4 handle: 192.168.2.1/24
  • IPv4 gateway: 192.168.1.1 (HGU’s IP)
  • DNS: Tried utilizing 8.8.8.8
  1. Firewall Settings:
  • Zone for VLAN:
    • Enter: settle for
    • Output: settle for
    • Ahead: reject
    • Masquerading: Enabled
    • Forwarding to wan allowed
      Situation:

The work community gadget will get an IP within the 192.168.2.x vary however has no web entry. I’ve checked connections, firewall guidelines, and interface settings, however can not seem to resolve the problem.

What I’ve Tried:

Verified bodily connections.
Ensured firewall masquerading and forwarding settings are right.
Checked gateway and DNS settings.
Restarted all units.
Any recommendation or steerage can be tremendously appreciated!

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles