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

    How to block my calling home foscam ip camera.

    Scheduled Pinned Locked Moved Firewalling
    23 Posts 4 Posters 4.2k 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

      The destination sure like hell should NOT be "LAN net".

      1 Reply Last reply Reply Quote 0
      • G
        Gerard64
        last edited by

        I choose a wrong pic. I tried so many things below is another pic. I was so fed up with it so i thought i post it here on the forum. Because I don't know what to try next.

        1 Reply Last reply Reply Quote 0
        • G
          Gerard64
          last edited by

          BTW that "lan net" idea i got from:
          http://foscam.us/forum/post70859.html#p70859

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

            If you don't want your foscam to go to the internet, then use its IP as the source IP and block it from going anywhere.

            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
            • G
              Gerard64
              last edited by

              I know and i did.
              But even then wen I power up the camera i see those WAN connections again.
              Also wen i do a packet capture i see there is still a lot of traffic going in and out between those ip's you see on the wan pic.
              Its crazy i can't figure it out. It feels like i mis something simple but what?

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

                well post up the rules that you put in place to block it?  You do understand that you would have to kill any existing states when you create new rules.

                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
                • G
                  Gerard64
                  last edited by

                  Hmm that sounds like you might found the stupid thing i might have not done because didn't know that  :o
                  But then again i don't think this was the problem a year long wen i did several reboots and upgrades etc. I gues existing states would then be lost right?

                  I have now this:

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

                    I see blank/nothing for this:

                    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
                    • G
                      Gerard64
                      last edited by

                      I see there a picture.

                      The cameras alias has of course the ipcam ip in it
                      i set cameras alias as source and block to all *
                      Then you see on the pic the dynamic view of the firewall log were we see still those incoming udp connections.

                      Wen i power off the camera then those udp connections stop.

                      How can the cam connect out to the internet wen i block everything coming in from the cam?
                      It still somehow triggers those incoming connections.

                      1 Reply Last reply Reply Quote 0
                      • G
                        Gerard64
                        last edited by

                        BTW i just reset states few minutes ago after your tip and it did not change anything.

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

                          can you not just attach the picture to post - I don't see anything.. work firewall blocking access to image hosting sites most likely.

                          As to how it can get there is because your not blocking it.. Rules are evaluated top down, first rule wins.. So if you have a rule above that says any any and then a rule that says block the block rule is never hit would be my guess.

                          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
                          • G
                            gcu_greyarea
                            last edited by

                            Check if there are floating rules?

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

                              So just looked via none work proxy and yeah that rule should block - other than your alias is not working..  What is in your cameras alias?

                              What are you trying to show your firewall log shows a bunch of blocked UDP traffic to your wan..  How is that your cameras???

                              blocked.png
                              blocked.png_thumb
                              blocked.png_thumb

                              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
                              • G
                                Gerard64
                                last edited by

                                It is just that what was the problem.
                                Just before i read the last posts here i exchanged the alias for the plain IP address and voila problem solved pfffff unreal

                                The alias looks like this:

                                I also added the pic as attachment.

                                Aliases.jpg_thumb
                                Aliases.jpg

                                1 Reply Last reply Reply Quote 0
                                • G
                                  Gerard64
                                  last edited by

                                  @johnpoz:

                                  What are you trying to show your firewall log shows a bunch of blocked UDP traffic to your wan..  How is that your cameras???

                                  I my earlier posts i wrote that those wan udp connections get triggered by the cam. everytime the cam is powered on those udp connectoins start going up. so the cam is triggering that even wen i thought i have blocked the camera. Wen i power off the camera those udp connections on the wan stop.

                                  But i/we now know wat the problem was. Probably some bug in the alias system. I don't know i'm happy i finally blocked the cam "calling home".

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

                                    You can always check what is in your alias via the diag, tables section.  See there is a alias I use to list the IPs of my AP.

                                    aliastable.png
                                    aliastable.png_thumb

                                    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
                                    • G
                                      Gerard64
                                      last edited by

                                      Great tips Johnpoz did not know this one either.
                                      I checked the CAMERAS alias in the diag / tables and it shows the right IP. Still i think there is something wrong with the aliases system since the IP is the right one.
                                      With the alias set it did not work with the IP address in place of the alias it does work.

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

                                        I am not having any problems - if I did then none of my eap-tls wifi clients could connect because that alias allows my AP to talk to the radius server..

                                        Use lots of aliases - if they were not working I would have lots of stuff broken

                                        aliasrules.png
                                        aliasrules.png_thumb

                                        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
                                        • G
                                          Gerard64
                                          last edited by

                                          I know i use many aliases they work also but this one did not.
                                          I have no idea why.

                                          I'm happy the problem is solved but it is still strange.
                                          I would like to use the alias. I try again later with a new created alias if it is still a problem then.

                                          Same here with my AP's i use also aliases and also wpa2-eap with dynamic vlans but that another story.
                                          If all aliases would not work i would have a big problem too of course :)

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

                                            For another time I would be curious to swap war stories with you on how your doing dynamic vlans on your wifi, what AP you using?  Unifi?  You running freerad on pfsense?

                                            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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.