Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: Reverse SSH tunelling |
|---|---|
| Date: | Mon, 30 Aug 2004 12:45:03 -0400 (EDT) |
Raist, If I understand your question... Here's another solution that requires two iptable rules on the gateway machine(s): #port forward ssh on port 2222 requests to 192.168.0.10 $IPT -t nat -i eth0 -A PREROUTING -p tcp --dport 2222 -j DNAT --to 192.168.0.10:22 $IPT -A FORWARD -p tcp -d 192.168.0.10 --dport 22 -j ACCEPT You can also be more specific by only allow ssh connections from a specific IP or subnet. Hope you find this helpful! Cheers, CW
Hi All,
I need some advice .. I have a situation where about fifty servers will
be located in fifty sites that cannot allow services to be hosted. These
servers will be in private network space behind firewalls. I can use
them to 'scp' files out to a common home base server, but sometimes I
need to access a command line console on these servers. I am thinking of
having a hourly cron job ssh out to my home base server and leaving that
tunnel open so that I can access that console, but am looking for the
specific way of doing this. Security os pf the utmost concern, so I need
some sort of encrypted tunnel, hence the thought of ssh, but I don't
know how to do this 'reverse' tunnel... I was also thinking of a 'free
swan' vpn tunnel ..
Thanks
Raist
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Reverse SSH tunelling, Glynn Clements |
|---|---|
| Next by Date: | RE: Reverse SSH tunelling, Tay, Gary |
| Previous by Thread: | Re: Reverse SSH tunelling, Marc Leeman |
| Next by Thread: | RE: Reverse SSH tunelling, Tay, Gary |
| Indexes: | [Date] [Thread] [Top] [All Lists] |