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

    Laptop and Wireless Tomato Router

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    40 Posts 4 Posters 3.5k 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
      doktornotor Banned
      last edited by

      @magdiel1975:

      Also when you said you installed the crap in VM.. did you mean Avast Internet secuirty (the paid version)?

      Yeah. I mean exactly that. The 2015 version.

      1 Reply Last reply Reply Quote 0
      • M
        magdiel1975
        last edited by

        @doktornotor:

        @magdiel1975:

        Also when you said you installed the crap in VM.. did you mean Avast Internet secuirty (the paid version)?

        Yeah. I mean exactly that. The 2015 version.

        Ok.. well, I have tried this iptable in Tomato's firewall..

        iptables -A INPUT -p tcp –dport 443 -j DROP

        but it does not work, even after rebooting the router.

        1 Reply Last reply Reply Quote 0
        • D
          doktornotor Banned
          last edited by

          You need both TCP and UDP. Already stated multiple times.

          1 Reply Last reply Reply Quote 0
          • M
            magdiel1975
            last edited by

            @doktornotor:

            You need both TCP and UDP. Already stated multiple times.

            My bad, i forgot to also include UDP.. my mistake.

            thanks for your help.. but try to be a little more patient with others if you're going to be "helping" others :)
            if you feel frustrated by something, just don't reply and let others do it..getting angry at a dumb user like me only  makes things worse for you.

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

              Or just use a proxy, and only let the proxy out.. Then they can go scratch ;)

              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
              • M
                magdiel1975
                last edited by

                I have tried inputing these in my firewall

                iptables -A INPUT -p tcp -m tcp –dport 443 -j DROP
                iptables -A INPUT -p udp -m udp --dport 443 -j DROP

                Rebooted the router.. and I still pull blocked pages on the PC with Avast DNS enabled :(

                also tried
                iptables -A OUTPUT -p tcp -m tcp --dport 443 -j DROP
                iptables -A OUTPUT -p udp -m udp --dport 443 -j DROP

                still no dice

                EDIT...
                OK I got it.. I was able to block port 443 through ACCESS RESTRICTIONS.. iptables do not work or have any effect on Avast DNS.

                1 Reply Last reply Reply Quote 0
                • D
                  doktornotor Banned
                  last edited by

                  Your iptables trouble is totally OT on this forum. Congrats on breaking HTTPS. Now they'll tunnel DNS via SSH, or via Avast Secureline (basically OpenVPN).  ::)

                  @magdiel1975:

                  OK I got it.. I was able to block port 443 through ACCESS RESTRICTIONS…

                  Hmmm. The MAC address takes about one second to change.

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

                    "iptables do not work or have any effect on Avast DNS."

                    What??  clearly you were no blocking the port they were using or there was a state already..  firewall has effect on ALL traffic!!

                    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
                    • M
                      magdiel1975
                      last edited by

                      @doktornotor:

                      Your iptables trouble is totally OT on this forum. Congrats on breaking HTTPS. Now they'll tunnel DNS via SSH, or via Avast Secureline (basically OpenVPN).  ::)

                      @magdiel1975:

                      OK I got it.. I was able to block port 443 through ACCESS RESTRICTIONS…

                      Hmmm. The MAC address takes about one second to change.

                      HTTPS works fine.. I can pull ALL HTTPS sites with no issues and changing the MAC address does nothing, it is still blocked :)

                      1 Reply Last reply Reply Quote 0
                      • M
                        magdiel1975
                        last edited by

                        @johnpoz:

                        "iptables do not work or have any effect on Avast DNS."

                        What??  clearly you were no blocking the port they were using or there was a state already..  firewall has effect on ALL traffic!!

                        I must have been using the wrong iptables or something, but as you can see on previous post, I tried all those iptables in my firewall and did not have any effect..but once I blocked port 443 in Access Restrictions it worked.

                        I understand that persistent user will always go through if they dedicate some time on it, but I just did not want to make it so easy for them by just having a piece of software like Avast Secure DNS allowing them to bypass my router with little effort like that.

                        If a user later uses VPN, well, I will deal wtih it then… there is ALWAYS a way and this will always be the game of cat and mouse :)

                        1 Reply Last reply Reply Quote 0
                        • H
                          hda
                          last edited by

                          @magdiel1975:

                          …
                          I must have been using the wrong iptables or something,
                          ...

                          I guess pfSense does not use IPtables… :P

                          1 Reply Last reply Reply Quote 0
                          • M
                            magdiel1975
                            last edited by

                            well guys..thanks for your time and patience. I know that dealing with people that know nothing about networking and such can be a pain in the rear, but I really appreciate you guys taking the time, whether it was to help or to muck :)

                            have a good one.

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

                              "HTTPS works fine"

                              if you were blocking 443 how would https work?? So clearly your not blocking 443..

                              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
                              • M
                                magdiel1975
                                last edited by

                                @johnpoz:

                                "HTTPS works fine"

                                if you were blocking 443 how would https work?? So clearly your not blocking 443..

                                All I know is that once I added UDP port 443 in Access Restrictions and saved the settings, Avast Secure DNS stopped working.. so I did some tests.. removed UDP port 443 from the settings, Avast DNS started working…added it back, it stopped working again...so adding that to Access Restrictiosn is doing something...at least is doing what I needed it to do.

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

                                  so your blocking only udp 443, that would explain why https works.

                                  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
                                  • M
                                    magdiel1975
                                    last edited by

                                    @johnpoz:

                                    so your blocking only udp 443, that would explain why https works.

                                    perhaps.. as you can tell I know very little about this… but all I know is that at this point the issue I was having with Avast DNS is corrected  8)

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