Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A full guide for pwnat for establishing an ssh tunnel. #29

Open
doronbehar opened this issue Jun 16, 2023 · 1 comment
Open

A full guide for pwnat for establishing an ssh tunnel. #29

doronbehar opened this issue Jun 16, 2023 · 1 comment

Comments

@doronbehar
Copy link

Hello,

This tool looks very cool, however I'm not sure I understand how to use it. Is it possible to ask for a full guide to establish an ssh tunnel between two machines behind an NAT and firewall?

Here are things I did not manage to figure out from the README:

Client wanting to connect to google.com:80:

./pwnat -c 8000 pwnat.server.com google.com 80

Why is this the first example given? Who would want to use such a tool to connect to google.com via a proxy? (Besides the chinese of course).

And more: What does pwnat.server.com mean? If I am behind a firewall and a network that doesn't have such a public domain - what should I use? Perhaps should it be the public IP address of the server?

Thanks for sharing this tool, and all other information... Help will be appreciated 🙏 .

@KentVu
Copy link

KentVu commented Apr 28, 2024

I bet pwnat.server.com is what curl ifconfig.me gives on the server side.
And instead google.com 80 I've tried localhost 22 but still can't get it to work.
Am I missing something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants