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

    Can me make rule like this …......

    Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
    4 Posts 2 Posters 1.9k 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.
    • P
      pr_as
      last edited by

      Hi I from ThaiLand not good command in english.

      I apologize if this question already.

      Of the system is in use 2.0-RELEASE (amd64)  with  Multiwan of 3 ISP.
      I want to have access to some URL into the Gateway to a single Gateway.

      I want to create a rule of Pf.
      We find that the file name in pfsense rules.dedug.
      Therefore, the rules of.

      User-defined rules follow.

      Is as follows.

      sg_web = "ucsearch.nhso.go.th, ucapps1.nhso.go.th, dmis.nhso.go.th".
      pass in quick on $LAN route-to ($CAT $GWWANGW) proto {tcp, udp} from $LAN: network to {$sg_web}.

      You can save it and use it.
      Reboot the machine, but when it comes to compliance.
      rules_debug.txt

      1 Reply Last reply Reply Quote 0
      • P
        pr_as
        last edited by

        I have read that I need to create a pf rule through pfsense web GUI only.
        So you do have ideas, please help or advice.

        1 Reply Last reply Reply Quote 0
        • pttP
          ptt Rebel Alliance
          last edited by

          You can do this using Policy Route, just check the Docs: http://doc.pfsense.org/index.php/Multi-WAN_2.0

          1 Reply Last reply Reply Quote 0
          • P
            pr_as
            last edited by

            @ptt:

            You can do this using Policy Route, just check the Docs: http://doc.pfsense.org/index.php/Multi-WAN_2.0

            Do you have some  an example,please ?
            I am New in pfsense 2.0

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