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

    Help with VoIP and DMZ?

    Scheduled Pinned Locked Moved NAT
    13 Posts 3 Posters 5.6k 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.
    • H
      hoba
      last edited by

      Try to use static ports for your phone. At firewall>nat, outbound enable advanced outbound nat. Then add a rule on top of the auto created rule for LAN like this:

      No NAT unchecked
      Interface WAN
      source network, <ip of="" phone="">/32
      port (blank)
      destination any
      destinationport (blank)
      translation interface adress
      static port checked

      Save and apply.

      After that reset states at diagnostics>states, reset states. Also reboot the phone just to make sure.</ip>

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

        trying that right now…

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

          got this when I followed those directions:

          php: : There where error(s) loading the rules: /tmp/rules.debug:22: the 'static-port' option is only valid with nat rules pfctl: Syntax error in config file: pf rules not loaded - The line in question reads [22]: no nat on $ng0 from 10.0.0.0/24 to any static-port

          Edit NM, I reread your post.  With the new rule on top, I still get that same error.

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

            You have to leave the no nat unchecked, read more closely  ;)
            Yes the autocreated rule is needed. It's what it does when advanced outbound nat is disabled automagically. Make sure the static port rule is above the autocreated rule.

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

              heh.  Funny how two little letters "U" and "N" make a difference eh?  I no longer get errors, but the phone's still not getting the configuration.  Any more ideas?  I just don't know what else to try…

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

                You did reset the states and reboot the phone? If yes I'm out of ideas for now  :-\

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

                  yes to both.  Thanks for the help so far.

                  On a side note, I also added a static mapping for my computer to see if I could do the tftp thing, but it still times out - dunno if that helps or not.

                  1 Reply Last reply Reply Quote 0
                  • S
                    sullrich
                    last edited by

                    TFTP will not work without a helper.  Unfortunately 1.0 does not have a helper for this protocol.

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

                      is there something I can do?  i'd really love to keep pfSense.

                      If it's not possible, could you recommend another option to me?

                      1 Reply Last reply Reply Quote 0
                      • S
                        sullrich
                        last edited by

                        Sorry, I don't know of any other workarounds.

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

                          Guess something like that would be needed: http://www.openbsd.org/cgi-bin/man.cgi?query=tftp-proxy&sektion=8&manpath=OpenBSD+4.0

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