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

    Routing within lan

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 2 Posters 2.2k 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
      rsingh
      last edited by

      hey guys,

      this should be a straight-forward routing problem. here's the setup:

      pfsense = 192.168.1.1

      pfsense –-- host 192.168.1.100
                    |
                    --router 192.168.1.106 ------ other network 192.168.2.0/24

      i added this static route in pfsense:

      route add -net 192.168.2.0/24 192.168.1.106

      pfsense can get to the 192.168.2.x network by using this static route

      the problem is that the host cannot. i can add a static route in the host to get to 192.168.2.0 but then every host that needs this network will have to do this. i want all network hosts to have pfsense forward the traffic.

      in a tcpdump i see the traffic destined from the host to the .2 network, it comes into pfsense and then disappears. i'm guessing it's going out one of the WAN connections. i am not seeing drops in the firewall logs.

      any ideas?

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        Add the static route via the gui and not on the console.
        Under advanced activate the checkbox "disable firewall rules for traffic on the same interface"
        (or something like that, i dont remember how exactly it's called)

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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