Routing problem with vlan after nat



  • 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


Log in to reply