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

Reaching a SSH server inside the LAN… Urgent!

Scheduled Pinned Locked Moved NAT
3 Posts 3 Posters 2.0k 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.
  • P
    p2d
    last edited by Jul 19, 2007, 11:28 PM Jul 19, 2007, 11:25 PM

    First of all this is my setup on my soekris 4801 machine:

    
    sis0 = LAN1 (Static 192.168.0.1)
    sis1 = WAN (PPPoE, dynamic IP)
    sis2 = LAN2 (Static 192.168.1.199)
    
    

    Inside LAN2 I have a server on IP 192.168.1.1 with a SSH-server on port 22 which I would like to reach from outside the WAN.

    But I would still like to keep the SSH server intact on pfsense.. So maybe it's possible to have pfsense convert port for example port 242 -> 22 ? So if I connect to the pfsense WAN IP with port 22 I reach the pfsense SSH-server and if I connect with port 242 I reach the ssh-server at 192.168.1.1

    For example if I would like to connect to the ssh server on LAN2 from the internet (WAN) I use the command: 'ssh -p 242 my-pfsense-domain.org'. Then pfsense connects me to the ssh server on port 22 at 192.168.1.1

    Edit: This is kinda urgent, so I will really appreciate a quick answer/solution

    1 Reply Last reply Reply Quote 0
    • M
      mrquintopolous
      last edited by Jul 20, 2007, 5:07 AM

      Not a 100% sure, wouldn't you want to setup NAT and setup port forwarding? That way, you can port forward WAN:242 –> 192.168.1.1:22.

      1 Reply Last reply Reply Quote 0
      • C
        Cry Havok
        last edited by Jul 20, 2007, 7:59 AM

        Sounds like a pretty standard port forward setup - look at the NAT menu.

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