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

    Help need for SSH port forward for asterisk server

    Scheduled Pinned Locked Moved NAT
    13 Posts 5 Posters 857 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by

      why are you showing outbound nat for a port forward?

      But 192/8 not valid that is for freaking sure..

      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
      • S
        shetu
        last edited by

        Outband Nat does not need for simple port forward?

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

          Why would you need to adjust outbound for an inbound port forward??

          That you have it set to manual and have 192/8 points to someone needs to RTFM to start with ;)

          Amost ALWAYS!!! The outbound nat would be automatic or hybrid.. If you think you need to change it to manual you prob should rethink what your doing and ask before changing it...

          Let me guess you read some "guide" on how to setup a vpn client...

          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
          • S
            shetu
            last edited by

            Your guess right. It was for vpn client.

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

              And wrong - there is ZERO reason to setup manual outbound nat for a vpn client.. Hybrid works just fine..

              And this guide told you to use 192/8??

              Are you actually using 192.0.0.0/8 as your local network? You confuse 192.168/16 rfc1918 space with 10/8 space?

              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

              S 1 Reply Last reply Reply Quote 0
              • S
                shetu @johnpoz
                last edited by

                @johnpoz Not really. My lan is 192.244.11.39/24

                1 Reply Last reply Reply Quote 0
                • RicoR
                  Rico LAYER 8 Rebel Alliance
                  last edited by Rico

                  As johnpoz already told you, 192.244.11.0/24 is no valid private network.

                  RFC1918:
                  10.0.0.0 to 10.255.255.255
                  172.16.0.0 to 172.31.255.255
                  192.168.0.0 to 192.168.255.255

                  -Rico

                  1 Reply Last reply Reply Quote 0
                  • DerelictD
                    Derelict LAYER 8 Netgate
                    last edited by

                    @rico said in Help need for SSH port forward for asterisk server:

                    RFC1918:
                    10.0.0.0 to 10.255.255.255
                    172.16.0.0 to 172.31.255.255
                    192.168.0.0 to 192.168.255.255

                    Also can be described as:

                    10.0.0.0/8
                    172.16.0.0/12
                    192.168.0.0/16

                    Chattanooga, Tennessee, USA
                    A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                    DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                    Do Not Chat For Help! NO_WAN_EGRESS(TM)

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

                      Thanks for you valuable opinion.

                      1 Reply Last reply Reply Quote 0
                      • DerelictD
                        Derelict LAYER 8 Netgate
                        last edited by

                        it is not an opinion. It is fact.

                        Chattanooga, Tennessee, USA
                        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                        Do Not Chat For Help! NO_WAN_EGRESS(TM)

                        1 Reply Last reply Reply Quote 0
                        • RicoR
                          Rico LAYER 8 Rebel Alliance
                          last edited by

                          Yes or
                          10/8
                          172.16/12
                          192.168/16

                          ...I just wanted to post a bit more "human readable". ;-)

                          -Rico

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