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

    PF behind another gateway

    Scheduled Pinned Locked Moved Firewalling
    6 Posts 2 Posters 2.1k 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.
    • D
      Deziken
      last edited by

      I have 2 devices on my Modem/Gateway which are used for Netflix.  However we are wanting to set up the media center extender functionality.  My gateway uses one IP Range while my PF box has a public static IP.  My gateway network and my internal network have different subnets.  What would be the easiest way to configure these devices or my firewall to allow them access to the internal network.

      I can provide a diagram if needed.

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        diagram sure wouldn't hurt.  Also you say pfsense has different static public IP?  This isn't making a lot of senses to me – so you have multiple public IPs and they are not in the same network?

        Or did you put a private static on wan interface of the pfsense?

        Drawing would help with IPs, you can change the public IPs if your worried about privacy - ie say your public is 24.14.3.14, use say 24.x.A.14 and then if other static is 24.14.2.23 you could use say 24.y.B.23 -- and your masks would help as well, just want to be able to tell if really on different Public IPs or same segment, or if private.

        Just so we are all clear - anything with 10.x.x.x, 192.168.x.x or 172.16-31.x.x is private address space and there is no problem with giving the full address, etc.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • D
          Deziken
          last edited by

          Thanks for the reply,  I have attached a small network diagram with ip ranges and subnets.
          The Firewall is set to a static ip, however I can set an outbound IP on it if needed.
          (Sorry about the confusion my publics are in the same range.)
          **note: The internal subnet is 255.255.248.0  I missed that before I published it.

          network.png
          network.png_thumb

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            Ok, why can you not just put a virtual IP on your pfsense box to be in that 10.28 network, and then on your 1st gateway create a route for the 10.72 network to go to the pfsense virtual ip you put on 10.28

            Still not understanding this setup to be honest.. Why would you set it up this way?  Why not just move pfsense to be the main gateway and run with multiple public IPs if you want.  Then either all your devices could be on same lan, or you could have multiple segments but it would be much easier to route.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • D
              Deziken
              last edited by

              I will have to try that,  Comcast requires we use their gateway/modem as the main gateway.  The main reason I want the two media boxes outside the firewall though is both boxes tend to be streaming some form of HD media at a time and it releives some tension off the firewall.

              1 Reply Last reply Reply Quote 0
              • D
                Deziken
                last edited by

                johnpoz,

                setting the virtual ip and routing worked for gaining access to the internal network.
                However I have came across a new hiccup.
                To configure the media server it uses a udp broadcast.
                I have tried making a virtual IP, iparp, and using nat to the Ip of one of the streaming devices. 
                Any suggestions here?

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