ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    block youtube app and facebook app on mobiles phones

    Scheduled Pinned Locked Moved IT Discussion
    androidpfsense
    22 Posts 2 Posters 11.7k 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.
    • IT-ADMINI
      IT-ADMIN @scottalanmiller
      last edited by IT-ADMIN

      @scottalanmiller said:

      @IT-ADMIN said:

      @IT-ADMIN how i can change this phone rule to block facebook and youtube app, knowing that i cannot force mobile traffic to pass through squid proxy because app not using proxy setting

      No need for proxy settings if setup as inline and transparent. The standard use of a proxy does not require proxy settings on the end users devices.

      thank you Dear Scott, but if i set my proxy as transparent it will allow only 80 port traffic and deny everything else, which cause https 443 port to be blocked, then mobiles cannot connect to gmail nor skype , nothing except web surfing (port 80)

      scottalanmillerS 1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @IT-ADMIN
        last edited by

        @IT-ADMIN said:

        thank you Dear Scott, but if i set my proxy as transparent it will allow only 80 port traffic and deny everything else, which cause https 443 port to be blocked, then mobiles cannot connect to gmail nor skype , nothing except web surfing (port 80)

        Why is everything except for port 80 blocked?

        IT-ADMINI 1 Reply Last reply Reply Quote 0
        • IT-ADMINI
          IT-ADMIN @scottalanmiller
          last edited by

          @scottalanmiller untitled.JPG

          IT-ADMINI 1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            That doesn't imply what you stated, though.

            1 Reply Last reply Reply Quote 0
            • IT-ADMINI
              IT-ADMIN @IT-ADMIN
              last edited by

              @IT-ADMIN because if you don't inform your browser which proxy to use, https will consider the proxy as a man in the middle, and will drop the connection

              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • IT-ADMINI
                IT-ADMIN
                last edited by

                all 443 traffic will not be established because the app itself is unaware about which proxy to use

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • IT-ADMINI
                  IT-ADMIN
                  last edited by

                  i set proxy setting for mobile, and i remark that facebook is blocked but youtube is not blocked, it seems that youtube app not using youtube.com to connect to the server,

                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @IT-ADMIN
                    last edited by

                    @IT-ADMIN said:

                    @IT-ADMIN because if you don't inform your browser which proxy to use, https will consider the proxy as a man in the middle, and will drop the connection

                    No, you are thinking of the way that you are using a proxy "non-transparent." A transparent proxy you don't tell the browser about. That's what transparent means - that the proxy happens without anything needing to know about it.

                    1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @IT-ADMIN
                      last edited by

                      @IT-ADMIN said:

                      all 443 traffic will not be established because the app itself is unaware about which proxy to use

                      It's transparent so everything goes through the proxy.

                      1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @IT-ADMIN
                        last edited by

                        @IT-ADMIN said:

                        i set proxy setting for mobile, and i remark that facebook is blocked but youtube is not blocked, it seems that youtube app not using youtube.com to connect to the server,

                        You'll need to block all YouTube sites, which are many. Blocking by domain name is not very effective. There is always a way around that by IP address.

                        IT-ADMINI 1 Reply Last reply Reply Quote 0
                        • IT-ADMINI
                          IT-ADMIN
                          last edited by

                          if i set a transparent proxy and block some URLs, users cannot access http://facebook.com, but if they just add s after http, they can access easily, i tried it !! i'm sure

                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                          • IT-ADMINI
                            IT-ADMIN @scottalanmiller
                            last edited by

                            @scottalanmiller said:

                            @IT-ADMIN said:

                            i set proxy setting for mobile, and i remark that facebook is blocked but youtube is not blocked, it seems that youtube app not using youtube.com to connect to the server,

                            You'll need to block all YouTube sites, which are many. Blocking by domain name is not very effective. There is always a way around that by IP address.

                            also blocking by IPs is not efficient, because IPs of servers keep changing, and it is difficult to know all IP range used by a specific server

                            scottalanmillerS 1 Reply Last reply Reply Quote 0
                            • IT-ADMINI
                              IT-ADMIN
                              last edited by

                              in the begining i though that app can be blocked by closing some ports numbers, but it seem that almost all of the apps use either 80 or 443, and if close one of these port it is like i closed everything !!!

                              scottalanmillerS 1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @IT-ADMIN
                                last edited by

                                @IT-ADMIN said:

                                if i set a transparent proxy and block some URLs, users cannot access http://facebook.com, but if they just add s after http, they can access easily, i tried it !! i'm sure

                                Are you just clicking a box called "transparent proxy" or are you actually changing your network correctly to accommodate the change in architecture?

                                1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @IT-ADMIN
                                  last edited by

                                  @IT-ADMIN said:

                                  also blocking by IPs is not efficient, because IPs of servers keep changing, and it is difficult to know all IP range used by a specific server

                                  Correctly, blocking like you are doing is effectively impossible. There is always a simple workaround.

                                  1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller @IT-ADMIN
                                    last edited by

                                    @IT-ADMIN said:

                                    in the begining i though that app can be blocked by closing some ports numbers, but it seem that almost all of the apps use either 80 or 443, and if close one of these port it is like i closed everything !!!

                                    Yes, normal businesses block all traffic on all ports and only allow 80 and 443 (web ports) via proxies. So any app that used another port would be assumed to be always broken, even in many homes. You need to proxy all traffic, not just some traffic, and you need a proxy that can terminate SSL for the end users are you are wasting your time because basically every site supports SSL today and if you can't filter SSL the proxy is pointless.

                                    1 Reply Last reply Reply Quote 0
                                    • 1
                                    • 2
                                    • 1 / 2
                                    • First post
                                      Last post