Pfsence with router



  • I have a network with this Structure(please see this picture)
    I have some modems that connect to internet and then connect to firewall(pfsence)
    firewall Output must connect to router and router Output must connect to Main switch and main switch connect to some switch and finally the client are there.
    the reason for using the router is that the network uses the VLAN and then it must has router.
    The problem is that the IPs and client MAC don't reach to firewall and can't set down on it.


  • Netgate Administrator

    @kalpase:

    the reason for using the router is that the network uses the VLAN and then it must has router.

    Why not just use VLAN interfaces in pfSense directly?

    @kalpase:

    The problem is that the IPs and client MAC don't reach to firewall and can't set down on it.

    I don't really understand what you're asking here. Which IPs? On the LAN side?

    Please add more details.

    Steve



  • On pfSense Firewall you will need:
    a) System->Routing, add a gateway pointing to the Router.
    b) Routes - add static route/s to the subnets behind router, pointing to the router gateway IP.
    c) Firewall->NAT, Outbound. Select "Manual Outbound NAT". Add NAT rule/s to NAT traffic from the subnets behind router, onto WAN.
    d) Firewall->Rules, LAN - make sure there are pass rule/s to allow traffic with source = subnets behind router.

    Post details of your subnets, gateways, static routes, Outound NAT rules and Firewall LAN rules if you still have a problem.