• 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.7k 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.
  • Z
    zkab @viragomann
    last edited by Feb 7, 2022, 2:52 PM

    Thanks ... still confused but at a higher level.
    My knowledge in firewalls could be better ... trying to learn more.
    Is there a documentation showing more in detail how to proceed?

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

      @zkab said in External ssh login to LAN computer:

      pfSense 2.5.4

      Huh? Sure hope you didn't mean 2.4.5 you should update. But there is not 2.5.4

      https://docs.netgate.com/pfsense/en/latest/recipes/openvpn-multi-purpose.html#openvpn-client-specific-overrides

      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

      Z 1 Reply Last reply Feb 7, 2022, 3:05 PM Reply Quote 0
      • Z
        zkab @johnpoz
        last edited by Feb 7, 2022, 3:05 PM

        Sorry ... I have 'Version 2.5.2-RELEASE (amd64)'
        I will check the link ...

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

          @zkab said in External ssh login to LAN computer:

          can 'ssh login' to (IP 192.168.1.y) and that is the only access to my LAN

          ok, i can help you let's go to your firewall rule and your openvpn configuration please.

          Z ? 2 Replies Last reply Feb 7, 2022, 5:11 PM Reply Quote 0
          • Z
            zkab @A Former User
            last edited by zkab Feb 7, 2022, 5:50 PM Feb 7, 2022, 5:11 PM

            Maybe I have mixed up things with OpenVPN.
            Basically what I want is to 'ssh login' to a LAN computer 192.168.1.x from an external IP from Internet.
            Is there away to set up a rule that allows the connection ... without involving OpenVPN.
            Since ssh is running I have tested to 'ssh login' to my WAN address and it works OK.

            1 Reply Last reply Reply Quote 0
            • ?
              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.8, 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.8, 24.11

                                          Z 1 Reply Last reply Feb 8, 2022, 1:08 PM Reply Quote 0
                                          22 out of 27
                                          • First post
                                            22/27
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received