Navigation

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

    ipv4 rule to mirror pfsense rule

    pfBlockerNG
    2
    2
    80
    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.
    • C
      chucklehead last edited by

      I can't seem to create a pfblockerng rule to send traffic from the lan to my vpn gateway. Can this be done?
      5458b87f-556c-49e1-ba91-22ee19b865be-image.png

      1 Reply Last reply Reply Quote 0
      • I
        IamGimli last edited by

        Without knowing more about what you're trying to do the following configuration should create a rule similar to the screenshot you posted.

        Replace "Alias for your 10.40.2.56 IP" with an alias you created that contains that IP and select the appropriate gateway at the bottom. Protocol can't be "any" for advanced rules but "TCP/UDP" is the best you can do.

        This rule will allow all TCP/UDP traffic from 10.40.2.56 to get to the gateway but it cannot force all traffic from 10.40.2.56 to go through the gateway. That would require a routing rule, not a firewall rule (outside the scope of pfBlockerNG).

        IPv4Rule.jpg

        1 Reply Last reply Reply Quote 0
        • First post
          Last post