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

UPnP - How it works and security risks

Off-Topic & Non-Support Discussion
4
10
9.7k
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.
  • J
    JAlexandre
    last edited by Jan 25, 2008, 2:03 PM

    Hi All,

    With your experience and know how you can certainly help me.

    My question is like the subject: How does UPnP works and what security risks can I expect.

    This question comes because I have some Mac users that can't use iChat AV to work and maybe UPnP can resolve this, but I'm not sure if I should activate UPnP in my pfSense box that is in production in our corporate network.

    Pleas advise me.

    Thanks in advance.

    Regards,

    Joao

    1 Reply Last reply Reply Quote 0
    • A
      AtomicPlayboy
      last edited by Jan 25, 2008, 2:39 PM

      Actually, iChat AV does not use uPNP.  To a first approximation, it is doing STUN to open up ports for your iChat AV video and audio sessions.  Unfortunately, pfSense scrambles source ports outbound (and I'm still not entirely sure what purpose that solves, aside from closing the admittedly very tiny security hole that STUN poses).

      Anyway, the way to fix this is not super-intuitive.  There's a bit of a howto here:

      http://doc.pfsense.org/index.php/Static_Port

      -Rob

      1 Reply Last reply Reply Quote 0
      • J
        JAlexandre
        last edited by Jan 25, 2008, 3:21 PM

        Hi Rob,

        Thank you very much for your prompt reply.

        I tried the suggested at the docs but the Mac clients are still stucked, now with a different error.

        Would m0n0wall be a option here or maybe some more tricking?

        Thanks again,

        Joao

        1 Reply Last reply Reply Quote 0
        • A
          AtomicPlayboy
          last edited by Jan 25, 2008, 5:04 PM

          I've tried m0n0wall and I like pfSense better.

          What error are you seeing exactly, and are you running the very latest?  (rc4)

          -Rob

          1 Reply Last reply Reply Quote 0
          • J
            JAlexandre
            last edited by Jan 25, 2008, 5:45 PM

            Also do I.

            The errors that I received are at iChat, first it gived error -8, after the modification you suggested it gived error -7.

            The problem that I discovered is that after doing this mod my captive portal stopped working normally, don't know why, after authentication the client didn't load the page it requested.

            For know I will leave this like it was before.

            But if you have more clues or a different suggestion… I'll test ASAP.

            Cheers,

            Joao

            1 Reply Last reply Reply Quote 0
            • A
              AtomicPlayboy
              last edited by Jan 25, 2008, 8:46 PM

              Where's the other machine that you're trying to talk to with iChat AV?  Behind the same pfSense box?

              Just to be sure, you're trying to do some kind of audio or video chat and it's dying right?  I am not familiar with this "error 8" bit.

              Disclaimer here is that I've only tested this with Leopard…  Are you using something older?

              -r

              1 Reply Last reply Reply Quote 0
              • J
                JAlexandre
                last edited by Jan 28, 2008, 7:12 PM

                Hi again Rob,

                It was Leopard and I made some tests with different connections but the last one both machines were probably behind pfsense.

                So probably not a good test.

                My only concerne was that this broke the captive portal, and i'm using pfSense mainly because of this service, also because I like it.

                I'll try to do another test, last time I was in a different city, so I'll do this test between the two cities and both behind pfSense.

                I'll report back ASAP.

                Anyway, thank you for your help, any more tips?

                Cheers,
                Joao

                1 Reply Last reply Reply Quote 0
                • S
                  sporkme
                  last edited by Nov 15, 2008, 1:52 AM

                  The search here is not turning up much definitive info…

                  Is there a way to get ichat working behind pfsense?  I tried some manual port forwarding based on what was being shown as blocked in the logs, but no luck.  I see it does try to talk to the upnpd, but that does not seem to help.

                  My end is pfsense, the other end is the Actiontec router that Verizon uses for FiOS customers.

                  This works with an older Airport router and the same remote router.

                  My main interest is the screen sharing feature, since it's so dumb-simple to use for doing support for relatives ("Hi, open ichat.  Yes, press the "Accept" button...").

                  If there is some magic that works, it would make a great FAQ entry.

                  1 Reply Last reply Reply Quote 0
                  • P
                    pcmofo
                    last edited by Feb 25, 2009, 7:21 PM

                    Not to hijack your thread but I am having the same issue.. I have posted my info here….
                    http://forum.pfsense.org/index.php/topic,14501.0.html

                    Have you fixed this issue yet?

                    1 Reply Last reply Reply Quote 0
                    • P
                      pcmofo
                      last edited by Feb 27, 2009, 3:10 AM

                      I did this and now it works!!

                      http://doc.pfsense.org/index.php/Static_Port

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