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

SSH Proxy Problems

Scheduled Pinned Locked Moved General pfSense Questions
3 Posts 2 Posters 2.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.
  • C
    ccb056
    last edited by Nov 21, 2011, 9:14 PM

    Hi all,

    I am having some issues using the SSH server in pfSense as a socks proxy for offsite users.
    Currently I have the pfSense ssh server setup for RSA keys only and port 22 forwarded to the pfSense box's local address.

    Remote users are able to SSH into the machine using Putty.
    Putty is setup on the remote machine with a dynamic port forward using source port 8080
    Firefox is setup on the remote machine to use a socks host of 127.0.0.1 port 8080

    Once the remote user establishes a SSH connection to the pfsense box and attempts to open a webpage in Firefox, Firefox returns the following error:

    The proxy server is refusing connections
    Firefox is configured to use a proxy server that is refusing connections.
    Check the proxy settings to make sure that they are correct.

    How do I resolve this?

    Thanks! :)

    1 Reply Last reply Reply Quote 0
    • C
      clarknova
      last edited by Nov 21, 2011, 10:43 PM

      @ccb056:

      port 22 forwarded to the pfSense box's local address.

      Except for the above line your configuration sounds correct to me. You don't need to forward port 22 anywhere from pfsense, you only need to allow that port in the firewall rules as appropriate for your connecting clients. Try killing the port forward rule and see what happens.

      db

      1 Reply Last reply Reply Quote 0
      • C
        ccb056
        last edited by Nov 22, 2011, 12:29 AM

        @clarknova:

        @ccb056:

        port 22 forwarded to the pfSense box's local address.

        Except for the above line your configuration sounds correct to me. You don't need to forward port 22 anywhere from pfsense, you only need to allow that port in the firewall rules as appropriate for your connecting clients. Try killing the port forward rule and see what happens.

        winner winner chicken dinner

        removing the forward but keeping the rule fixed it
        thanks!

        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