• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 866 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.
  • S
    shetu
    last edited by Mar 9, 2019, 2:05 PM

    I need to open ssh port from wan side. Others port forward port ok but this server does not working. I stop Iptables and PortKnock service. Here is my pfsense screenshot.

    2_1552140292609_outband.jpg 1_1552140292609_nat.jpg 0_1552140292607_lan.jpg

    1 Reply Last reply Reply Quote 0
    • G
      Grimson Banned
      last edited by Mar 9, 2019, 2:27 PM

      https://docs.netgate.com/pfsense/en/latest/nat/port-forward-troubleshooting.html follow all the steps and you will find where the problem is.

      1 Reply Last reply Reply Quote 0
      • J
        johnpoz LAYER 8 Global Moderator
        last edited by Mar 9, 2019, 4:16 PM

        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 Mar 9, 2019, 4:34 PM

          Outband Nat does not need for simple port forward?

          1 Reply Last reply Reply Quote 0
          • J
            johnpoz LAYER 8 Global Moderator
            last edited by johnpoz Mar 9, 2019, 4:51 PM Mar 9, 2019, 4:49 PM

            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 Mar 9, 2019, 5:41 PM

              Your guess right. It was for vpn client.

              1 Reply Last reply Reply Quote 0
              • J
                johnpoz LAYER 8 Global Moderator
                last edited by johnpoz Mar 9, 2019, 5:48 PM Mar 9, 2019, 5:43 PM

                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 Mar 9, 2019, 5:50 PM Reply Quote 0
                • S
                  shetu @johnpoz
                  last edited by Mar 9, 2019, 5:50 PM

                  @johnpoz Not really. My lan is 192.244.11.39/24

                  1 Reply Last reply Reply Quote 0
                  • R
                    Rico LAYER 8 Rebel Alliance
                    last edited by Rico Mar 9, 2019, 6:10 PM Mar 9, 2019, 6:04 PM

                    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
                    • D
                      Derelict LAYER 8 Netgate
                      last edited by Mar 10, 2019, 5:52 PM

                      @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 Mar 10, 2019, 5:59 PM

                        Thanks for you valuable opinion.

                        1 Reply Last reply Reply Quote 0
                        • D
                          Derelict LAYER 8 Netgate
                          last edited by Mar 10, 2019, 6:09 PM

                          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
                          • R
                            Rico LAYER 8 Rebel Alliance
                            last edited by Mar 10, 2019, 7:03 PM

                            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
                            13 out of 13
                            • First post
                              13/13
                              Last post
                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                              This community forum collects and processes your personal information.
                              consent.not_received