Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Routing problem with vlan after nat

    Scheduled Pinned Locked Moved Routing and Multi WAN
    1 Posts 1 Posters 720 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      ramonmitcs
      last edited by

      hi,

      pleasant day to all.

      my present setup before pfsense installation:

      vlan 1 (192.168.1.0/24) –>layer 3 switch <-- (vlan2 192.168.2.0/24)
      member vlan 1                                            member vlan 2
      computer 1                                                  computer 10 (webserver 192.168.2.3/24)
      computer 2                                                  computer 11
      gw 192.168.1.254                                        gw 192.168.2.254

      the present setup above had no problem. vlan 1 could access the computers in vlan2 and vice versa. Then i installed a pfsense box with 2 nics. 1 public ip (203.177.xxx.xxx) and the other with  ip address of 192.168.2.120/24 member of vlan2. The purpose of which is to port forward the http request from 203.177.xxx.xxx to my web server 192.168.2.3. I followed the documentation and now the port forwarding works like a charm.

      However, I am at a loss now how can my vlan 1 connect to my webserver since i changed the gw from 192.168.2.254 (layer 3 switch interface) to 192.168.2.120 (pfsense box) in the web server.

      Any pointers is highly appreciated.

      Thank you,
      Mon

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.