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

    Using wildcarded hostnames in routing.

    Scheduled Pinned Locked Moved Routing and Multi WAN
    9 Posts 5 Posters 2.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
      paradoxxx
      last edited by

      I plan to set up a DUAL WAN router using this software with the goal of improving latencies of gaming servers between 2 ISPs.  I am exploring my options

      Is it possible to specify in a wildcard hostname in the destination field as an outbound data rule.
      e.g.

      Source - 192.168.3.1
      Port - *
      Destination - *.xyzisp.com
      Gateway - 192.168.1.254

      Source - 192.168.3.1
      Port - *
      Destination - *.abcisp.com
      Gateway - 192.168.2.254

      If not are the IP blocks for an ISP publicly available?

      Furthermore in the process of port forwarding, can I fwd the same port on both external interfaces (WAN1, WAN2) to the same machine.

      e.g.

      WAN1:27015
      WAN2:27015
      Both fwd information to PC1:27015

      Finally, I plan to slap in 3 NICs into the machine and a normal wireless NIC to make this work like a normal router.

      WAN1 = 1NIC
      WAN2= 1NIC
      Outgoing to switch = 1NIC
      Interface for wireless devices to connect = 1 Wireless NIC

      Do I have the necessary NICs or does wireless require something special.

      1 Reply Last reply Reply Quote 0
      • S
        sai
        last edited by

        @paradoxxx:

        Is it possible to specify in a wildcard hostname in the destination field as an outbound data rule.
        e.g.

        Source - 192.168.3.1
        Port - *
        Destination - *.xyzisp.com
        Gateway - 192.168.1.254

        Source - 192.168.3.1
        Port - *
        Destination - *.abcisp.com
        Gateway - 192.168.2.254

        no you cant do this. you can only have an IP address or subnet  in the destination. 
        if you ping abc.xyzisp.com you will see the ip address of the host. you can use this to policy route your traffic.
        if its a friend that you are playing with then ask them to lookup their ip address (http://whatismyip.com) and route the whole /24

        1 Reply Last reply Reply Quote 0
        • S
          sai
          last edited by

          @paradoxxx:

          Furthermore in the process of port forwarding, can I fwd the same port on both external interfaces (WAN1, WAN2) to the same machine.

          e.g.

          WAN1:27015
          WAN2:27015
          Both fwd information to PC1:27015

          yes that is fine.

          1 Reply Last reply Reply Quote 0
          • jahonixJ
            jahonix
            last edited by

            @paradoxxx:

            I plan to set up a DUAL WAN router using this software with the goal of improving latencies of gaming servers between 2 ISPs.

            I doubt that this is possible.
            They would have to route through your system which ISPs don't do.

            @paradoxxx:

            If not are the IP blocks for an ISP publicly available?

            You don't have the capacity on your internet link(s) to provide such a service if you're asking this. No pun intended, only trying to judge from observation.

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

              I am sorry if I misrepresented the matter, I don't intend to become a route for the general public.  Anyone using the game servers on my network will be the persons affected by the routing.

              I think i'll use sai's suggestion and route based on the entire /24 of a specific IP.  It would have been nice to go to some registrar and ask them for all the possible IPs that my ISP can use.

              1 Reply Last reply Reply Quote 0
              • E
                eri--
                last edited by

                Actually you can! Learn about the AS assigned to your ISP.

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

                  Excuse me, the AS?

                  1 Reply Last reply Reply Quote 0
                  • dotdashD
                    dotdash
                    last edited by

                    http://en.wikipedia.org/wiki/Autonomous_System_Number

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

                      I believe I got it!
                      Thanks for the great advice.

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