Jump to content

Tunnel All Traffic?


Recommended Posts


Use Pineapple to tunnel all traffic to server running SSH, in order to bypass a firewall.


I have an application that uses a specific port. THe port can not be change and the application does not allow for proxy (SOCKS proxy via SSH).

I have noticed in the pineapple config, I can setup SSH. Will this do what I want? Also the plan was to connect in this manner:

PC------cat5------Pineapple------cat5---SSH CONNECTION BYPASSING OnSite Firewall------SSH Sever On Internet, Outside of firewall------Application makes its connection using its now open/free port.

Link to comment
Share on other sites

Yes - you should be able to use autossh to maintain a persistent ssh connection to your cloud server and with some iptables magic route all traffic over that port. So your app tries to access port 1000, well iptables is chugging that through 22 instead to your cloud box. Unfortunately I'm no iptables magician, I've only started dipping my big toe into it (for sslstrip mods) but I'm sure someone here can you get your some specifics. In the meantime, google up iptables and start learning!


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...