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

    Ips redirect

    Scheduled Pinned Locked Moved General pfSense Questions
    9 Posts 2 Posters 702 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.
    • F
      felipe_antocheski
      last edited by

      Hi. I'm new to pfsense, I have a question? I have it installed in my company with two internet links. 1 fiber of the tim and a net fiber that is dhcp with loab balance enabled. I need a package to just come out with ip from the tim link, how to?

      Thx

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        What sort of package?

        You can policy route any traffic you can define using a firewall rule to use a particular gateway.

        Traffic from the firewall itself though will use the default system route in most cases.

        Steve

        1 Reply Last reply Reply Quote 0
        • F
          felipe_antocheski
          last edited by felipe_antocheski

          has that site https://www.timcommerce.com.br/ that with two linked link it does not access from bad key. I did a test I disconnected the link from netvirtua and access.

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            You can add that fqdn as an alias and then create a firewall rule on LAN above the load balancing rule with that as destination.
            Add just one specific gateway to that rule and all traffic will always use that WAN.

            That does depend on that fqdn resolving to a single IP though. If they have a range you will need to include them all in the alias.

            Steve

            1 Reply Last reply Reply Quote 0
            • F
              felipe_antocheski
              last edited by

              I followed his suggestion, but it did not work out. Still not coming in.
              1_1533750664672_pfsense.jpg 0_1533750664671_pf.jpg

              I left the configuration like this. it's correct?

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                No.
                The source should be LAN net
                The destination should be 189.40.221.19 or an alias containing it. You might want to also include 200.179.42.41 which timcommerce.com.br resolves to.
                In the advanced section you need to set the gateway to be the LINK_FIBRA_TIM gateway.

                Steve

                1 Reply Last reply Reply Quote 0
                • F
                  felipe_antocheski
                  last edited by

                  I did it the way you said it, but nothing yet. I noticed that the virtua is as default, you know if you can to leave the tim link as default?
                  3_1533758767731_pfsense.jpg 2_1533758767731_pff.jpg 1_1533758767729_pf.jpg 0_1533758767694_a.jpg

                  I left these settings, are they correct?

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    You might want to set protocol to any of you need more than http(s).

                    That rule must be above your load balancing rule in the LAN rules.

                    You might need more than just 189.40.221.19 as the destination. timcommerce.com.br resolves to a different IP for example.

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • F
                      felipe_antocheski
                      last edited by

                      Hi. It worked. Thank you for the help

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