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

    Mikrotik + pfsense

    Scheduled Pinned Locked Moved General pfSense Questions
    15 Posts 7 Posters 8.4k 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.
    • E
      ElementHelios
      last edited by

      Hello everyone , i searched information about one howto but i didnt get one.
      For that i ask all if someone have one howto // tutorial about mikrotik with one pfsense .
      I want it in order to use it as proxy and bloq some webs .

      Thanks for the support .

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        For that i ask all if someone have one howto // tutorial about mikrotik with one pfsense .

        No, I very much doubt it.  You're just trying to chain two routers together?

        Perhaps if you explained what you are trying to accomplish…?

        1 Reply Last reply Reply Quote 0
        • E
          ElementHelios
          last edited by

          My schema is :
          MODEM===MIKROTIK===Switch–-my computers 
                                                      |   
                                                      |
                                                  pfsense

          Sorry if its very confused. I want use one mikrotik as firewall + pfsense as proxy in order to bloq webs.
          I want put together but i dont know how .

          I saw one indonesian post (I try to translate) but the schema its the same , you can see better the image here https://forum.pfsense.org/index.php?topic=41788.0.

          I try to explain all if you dont understand me. Thanks for all.

          1 Reply Last reply Reply Quote 0
          • KOMK
            KOM
            last edited by

            This is possible.  Install pfSense and configure your single NIC as the WAN.  You won't be able to use transparent mode with the proxy, only explicit mode.  That means you will either have to configure WPAD, or manually set the proxy for all of your LAN clients.

            1 Reply Last reply Reply Quote 0
            • A
              AndrewZ
              last edited by

              @ElementHelios:

              I want use one mikrotik as firewall

              Any specific reason behind this?

              1 Reply Last reply Reply Quote 0
              • E
                ElementHelios
                last edited by

                Thats the question , im new with that networks .
                I ask for one tutorial or help because i dont know how take it , if you know something or you saw one post about this configuration . I tell you that the Indonesian post its the only "data" that i have for mikrotik + pfsense .

                1 Reply Last reply Reply Quote 0
                • KOMK
                  KOM
                  last edited by

                  Try this

                  1 Reply Last reply Reply Quote 0
                  • E
                    ElementHelios
                    last edited by

                    I watched it , but i need it with one mikrotik , sooo thats the same post.
                    How can i place it together and make it work, thats the question.
                    I know that it works because i saw it , but not one tutorial .

                    1 Reply Last reply Reply Quote 0
                    • A
                      acriollo
                      last edited by

                      This is not a new scenario ,most of time you need to "redirect" the traffict that goes to the ports 80/443 to the PFSense that must be connected to a DMZ or some like this on your Mikrotik Firewall.

                      Other aproach is to setup manualy or with a WPAD file your clients to navigate via the Proxy on the PFSense Box.

                      You need to do a try and fail process if you do not have the full answer. Is very similar to user thunder cache or other cache solutions.

                      Regards.

                      1 Reply Last reply Reply Quote 0
                      • E
                        ElementHelios
                        last edited by

                        Thankss mate , i try it .

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          tomazini @ElementHelios
                          last edited by

                          @elementhelios Dear, did you get the solution to integrate mikrotik with pfsense? I'm searching for the same solution and I still have not tried it.

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

                            So just trying to use pfSense as a Squid proxy?

                            Transparently or clients pointing at it directly?

                            Steve

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              tim.mcmanus
                              last edited by

                              I have a Mikrotik router/switch. I set it up this way with excellent results:

                              [ISP Gear]<--->[pfSense]<--->[Mikrotik]<--->LAN

                              The Mikrotik is set up as a bridged switch in this configuration. There is no need to set up the Mikrotik as a router at all.

                              1 Reply Last reply Reply Quote 0
                              • T
                                tomazini @stephenw10
                                last edited by

                                @stephenw10 Exactly, I want pfsense only as a proxy. Matting Mikrotik as the main router, because I have specific settings in it.

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

                                  Well that's no problem, just install pfSense with one interface and install Squid on it. Though you might consider running Squid just on FreeBSD instead if you don't need everything else that pfSense brings.

                                  If you want to run transparently you need port forwards in Mikrotik to redirect traffic to it. Otherwise you need to configure clients to use it directly.

                                  Steve

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