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

    Behind another firewall

    Scheduled Pinned Locked Moved Traffic Shaping
    55 Posts 2 Posters 23.3k 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.
    • S
      semperfi
      last edited by

      Rule for LAN

      LAN.png
      LAN.png_thumb

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

        rule for OPT1

        OPT1.png
        OPT1.png_thumb

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

          rule for WAN

          wan.png
          wan.png_thumb

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

            Sir I dont know it is correct but my Network is working fine i can access Zyxell and PFSense, i Have my internet..

            Please check,,

            How can i use bandwith limiter for every network and transparent proxy + dansguardian

            Thanks sir,,

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

              All of your VLAN are able to pass through the bridge and are able to get to the internet?

              I am not familiar with the limiter or dansguardian, I use the squid3 package for proxying. It is easy to setup and you would only need to tell it what subnets you want to proxy on and it will do that.

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

                Yes sir all of the VLAN's able to ping each other and has internet.
                I want to ask you if this setup is ok?  this were I come up, because its different from your setup..
                I can't understand your concept, on how to set up my network,

                we successfully setup pfsense in transparent bridge mode behind my Zyxell firewall,,
                the problem is with this set as my WAN=rl0 and LAN=dc0 was bridge in opt1. I cant imagine how can i assign this 3 NIC's because its already in use…

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

                  If it is working, you don't need to do anything. I didn't think that VLAN ids would be kept intact when passing over the bridge much less be able to see any subnets in it. If you remove a VLAN subnet from your alias, does that VLAN no longer work? how is your network connected?

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

                    when i removed one VLAN subnet on my aliase. and i use that VLAN port on my Layaer 2 switch, icant ping my pfsense, my zywall even i cant get ip from dhcp server..

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

                      This would mean that filtering is working as expected. Just install the packages you want and configure them to allow all your subnets. Once everything is working, you can start restricting if you want.

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

                        In this st up I want to limit download and upload in my network,, example i want to limit download and upload in VLAN 2 with the network of 192.168.1.1/24, how can i dothis
                        thanks,,

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

                          You can do this with limiter, traffic shaper, or squid … The best way depends on what you want to limit as in, all traffic, traffic on certain ports, or just web based download and upload. I am most familiar with the shaper and you can do this with that using a penalty setup. Just run the wizard and when you see penalty ip, put in the entire VLAN2 subnet. You can then create other penalty queues for other subnets. If you want to just have a physical cap, you would use the limiter, but I am not sure how to set that up as I have never used it. (Something for me to learn soon)

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

                            sir how can i use transparent proxy in transparent bridge mode

                            thankas,,,

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

                              I have not done this before, but I would speculate that you just need to install squid3, set is to listen on WAN and LAN, and check the option to be transparent.

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

                                ok sir thank I'll try the squid3..

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

                                  how to use this squid3 sir?

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

                                    Where are you having trouble? Perhaps some questions. Search, there is probably a doc or a forum write up for a simple starter config.

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

                                      hi si this is what i get in my setup using squid3, i cant access my pfsense box,

                                      ![reverse proxy.png](/public/imported_attachments/1/reverse proxy.png)
                                      ![reverse proxy.png_thumb](/public/imported_attachments/1/reverse proxy.png_thumb)

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

                                        Well to get back into your gui, ssh or get to a console and do this:

                                        pgrep -fl proxy_monitor

                                        <get the="" process="" id=""># pgrep -fl squid
                                        <get this="" process="" id="" also=""># kill -9 <proxy_monitory process="" ids=""># kill -9 <squid process="" ids="">This should stop squid and stop it from restarting. You should be able to get to your GUI to remove the package or change the config to only listen on the bridge interface. Does the bridge have an IP address? If not, then it will probably not work.</squid></proxy_monitory></get></get>

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

                                          hi sir, my PFSense box is on transparent bridge mode. where LAN and WAN is set to none and the only interface that has an IP was the OPT1 (192.168.0.2) where I assign the bridge.

                                          Where can I put this command sir what option will i use?

                                          thanks,

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

                                            Sir can i send to you my backup config so that you can see it with or to your test machine?

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