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

    Squid as a proxt for SSH connections

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 638 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.
    • opticalcO
      opticalc
      last edited by

      Now that I have pfsense, squid works great for all my HTTP/S stuff, but just cannot figure out how to proxy my putty SSH sessions through it.  I tried adding 22 under "ACL SafePorts", that didnt help.  Also tried adding 22 under "ACL SSLPorts"

      I used to use openwrt, and it had this ultralight proxy that worked really well.  it was a regular port 3128 proxy that handled all my HTTP/S and also allowed me to use my local putty SSH connections to connect out through this proxy.  So I just cant see squid not supporting this.  But cant figure it out???

      I tried setting my putty client as HTTP SOCKS4 and SOCK5 5 proxy client, no help
      I also tried adding the proxy client, and remote SSH server IPs in the unrestricted list, no help.  at this point im out of ideas as to what to try

      TIA

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        squid is http proxy, while I am guessing you were using Srelay on openwrt which is socks - completely different.

        There is a Srelay for freebsd - if you really want support you could install the freebsd package - ask to get it added to the pfsense repo.

        http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/srelay-0.4.8b6.txz

        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
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.