LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-22-2009, 10:04 AM   #1
ieuuk
Member
 
Registered: Aug 2004
Location: England, United kingdom
Distribution: Fedora 10 + Cent OS 5.3
Posts: 65

Rep: Reputation: 15
iptables and ssh


Hi Guys,

I have a cent os server which im developing... this is being connected to by windows servers using open ssh. Now because of the old version of the open ssh for windows project it doesnt have the function to be able to bind a remote tunnel to an interface. (i have tried cygwin but its not really practical for scripting things connecting over ssh and bits)

So what i would like to be able to do is on my cent os machine be able to have other servers connecting to it and using the ssh connection to go back to the remote server. The connection from my cent os server to my remote server works fine and i can telnet down the ssh tunnel to each other. Just need a local server (windows) to talk down the ssh tunnel to the other windows server.

Thus my question is, can i with iptables set it up to be able to forward packets coming in on a port, on to 127.0.0.1ort?

I've been having a look in to it but i just dont know enough about iptables to be able to make it work or where to look when its not working.

Any help or advice is appreciated

Thanks,
ieuuk
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with SSH and iptables paramo Linux - Security 2 02-05-2008 04:08 PM
iptables help! DROP ssh port, but allow to connect to ssh if from 2222 port kandzha Linux - Networking 4 09-13-2006 09:10 AM
iptables ssh ruleman Linux - Security 3 05-07-2005 03:46 PM
iptables and ssh iomari Linux - Networking 6 10-01-2004 07:44 PM
ssh / iptables bruj3w Linux - Networking 17 08-05-2004 12:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration