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

    Need help with a reverse proxy feeding into an SSH tunnel

    Scheduled Pinned Locked Moved Routing and Multi WAN
    1 Posts 1 Posters 645 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.
    • F
      fauxmacho
      last edited by

      I am new to these parts and slowly getting up to speed on all things pfsense.

      My goal is to route all my LAN traffic thru an SSH tunnel to an amazon ec2 cloud server.

      I use the console on my pfsense box to start this ssh tunnel:
      ssh -f -L 3128:localhost:8888 -i "key.pem" ubuntu@ec2-server.com
      That ssh connection has been duplicated on another computer and confirmed working

      LAN rule
      LAN interface
      TCP protocol
      Destination WAN address
      Destination port 3128

      Shouldn't this setup route all LAN tcp traffic to the WAN interface at port 3128?
      Which then gets redirected thru the ssh tunnel to my cloud server?

      I've been beating my head on this problem for a solid few days now.
      Any tips or leads are greatly appreciated.

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