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

External ssh login to LAN computer

Scheduled Pinned Locked Moved OpenVPN
27 Posts 4 Posters 1.5k 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.
  • ?
    A Former User @A Former User
    last edited by Feb 7, 2022, 5:49 PM

    @silence post delete?

    Z 1 Reply Last reply Feb 7, 2022, 5:51 PM Reply Quote 0
    • Z
      zkab @A Former User
      last edited by Feb 7, 2022, 5:51 PM

      Pls check post above ...

      ? 1 Reply Last reply Feb 7, 2022, 5:54 PM Reply Quote 0
      • ?
        A Former User @zkab
        last edited by A Former User Feb 7, 2022, 5:55 PM Feb 7, 2022, 5:54 PM

        @zkab
        ok. Easy go to NAT

        Firewall >> NAT>>Port Forward

        CONFIGURE YOUR NAT RULE...DO YOU KNOW HOW TO DO IT?

        76c45819-6348-4205-b801-52efbb91318a-image.png

        Z 1 Reply Last reply Feb 7, 2022, 6:03 PM Reply Quote 1
        • Z
          zkab @A Former User
          last edited by Feb 7, 2022, 6:03 PM

          @silence Not sure how to do that ... looked at Firewall>>NAT>>POrt Forward

          ? 1 Reply Last reply Feb 7, 2022, 6:04 PM Reply Quote 0
          • ?
            A Former User @zkab
            last edited by Feb 7, 2022, 6:04 PM

            @zkab, use the example of the previous publication and then send a screenshot of how it turned out.

            Z 1 Reply Last reply Feb 7, 2022, 6:17 PM Reply Quote 1
            • Z
              zkab @A Former User
              last edited by Feb 7, 2022, 6:17 PM

              @silence I have Port=45007 in my systemNAT.png

              Z 1 Reply Last reply Feb 7, 2022, 6:21 PM Reply Quote 0
              • Z
                zkab @zkab
                last edited by Feb 7, 2022, 6:21 PM

                @zkab Uppdated ...NAT.png

                Z ? 2 Replies Last reply Feb 7, 2022, 6:26 PM Reply Quote 0
                • Z
                  zkab @zkab
                  last edited by Feb 7, 2022, 6:26 PM

                  Where do specify the incoming 'ssh login' IP-address?

                  ? 1 Reply Last reply Feb 7, 2022, 6:28 PM Reply Quote 0
                  • ?
                    A Former User @zkab
                    last edited by Feb 7, 2022, 6:26 PM

                    @zkab Everything working?

                    Don't forget to click above if the answer helped you. please

                    1 Reply Last reply Reply Quote 1
                    • ?
                      A Former User @zkab
                      last edited by Feb 7, 2022, 6:28 PM

                      @zkab en source addres
                      Display Advanced

                      cb62f632-62f1-4303-b4c9-503cc53e1335-image.png

                      7a22a9e8-9e5a-4cef-83ed-57e2d8e90644-image.png

                      Z 1 Reply Last reply Feb 7, 2022, 6:34 PM Reply Quote 1
                      • Z
                        zkab @A Former User
                        last edited by Feb 7, 2022, 6:34 PM

                        @silence OK ... I will test it tomorrow when I have access to the computer ... Thanks for you support

                        J 1 Reply Last reply Feb 7, 2022, 6:36 PM Reply Quote 0
                        • J
                          johnpoz LAYER 8 Global Moderator @zkab
                          last edited by johnpoz Feb 7, 2022, 6:36 PM Feb 7, 2022, 6:36 PM

                          @zkab I would suggest you test before then, say open it back up to any IP. Then go to can you see me . org and test to that port.. Do you get green, that is open?

                          If so then lock it back down to your source IP.

                          Users quite often forget about host firewalls, so I would test that your seeing open from the public internet before locking it down, etc.

                          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.7.2, 24.11

                          ? 1 Reply Last reply Feb 7, 2022, 6:36 PM Reply Quote 1
                          • ?
                            A Former User @johnpoz
                            last edited by Feb 7, 2022, 6:36 PM

                            @johnpoz said in External ssh login to LAN computer:

                            I would suggest you test before then, say open it back up to any IP. Then go to can you see me . org and test to that port.. Do you get green, that is open?

                            good idea.

                            Z 1 Reply Last reply Feb 8, 2022, 12:56 PM Reply Quote 0
                            • Z
                              zkab @A Former User
                              last edited by Feb 8, 2022, 12:56 PM

                              @silence What do you think of this ... will it work? Should I disable OpenVPN rule or will port forwarding still work?

                              nat.png nat-1.png

                              J 1 Reply Last reply Feb 8, 2022, 12:59 PM Reply Quote 0
                              • J
                                johnpoz LAYER 8 Global Moderator @zkab
                                last edited by Feb 8, 2022, 12:59 PM

                                @zkab said in External ssh login to LAN computer:

                                Should I disable OpenVPN rule or will port forwarding still work?

                                Do you still want to use openvpn connection for other stuff? If your not using openvpn, then I wouldn't run openvpn. If your not running openvpn then there is little need for the rule.

                                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.7.2, 24.11

                                Z 1 Reply Last reply Feb 8, 2022, 1:08 PM Reply Quote 0
                                • Z
                                  zkab @johnpoz
                                  last edited by zkab Feb 8, 2022, 1:10 PM Feb 8, 2022, 1:08 PM

                                  @johnpoz This action is temorary so the support guy can 'ssh login' to my 192.168.1.13.
                                  After the problem is solved I will disable port forward for this incoming IP.
                                  I still need OpenVPN now and in the future ... question is will OpenVPN rule interfear & disturb to 'ssh login'?
                                  Should I disable it until the support problem is solved?

                                  J 1 Reply Last reply Feb 8, 2022, 1:10 PM Reply Quote 0
                                  • J
                                    johnpoz LAYER 8 Global Moderator @zkab
                                    last edited by Feb 8, 2022, 1:10 PM

                                    @zkab no it wont interfere

                                    And yeah your ssh access for some tech support guy is prob much better then giving them vpn access that is for sure. And much easier to setup.

                                    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.7.2, 24.11

                                    Z 1 Reply Last reply Feb 8, 2022, 1:11 PM Reply Quote 0
                                    • Z
                                      zkab @johnpoz
                                      last edited by Feb 8, 2022, 1:11 PM

                                      @johnpoz Should I disable it until the support problem is solved?

                                      J 1 Reply Last reply Feb 8, 2022, 1:12 PM Reply Quote 0
                                      • J
                                        johnpoz LAYER 8 Global Moderator @zkab
                                        last edited by Feb 8, 2022, 1:12 PM

                                        @zkab no reason to.. If he doesn't have creds and certs to login to the vpn, he can't connect to your vpn. And again that rule has zero to do with your ssh port forward.

                                        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.7.2, 24.11

                                        Z 1 Reply Last reply Feb 8, 2022, 1:13 PM Reply Quote 0
                                        • Z
                                          zkab @johnpoz
                                          last edited by Feb 8, 2022, 1:13 PM

                                          @johnpoz OK thanks ... I have learn alot thanks to this forum ...

                                          1 Reply Last reply Reply Quote 0
                                          17 out of 27
                                          • First post
                                            17/27
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received