I'm trying to set up IPChains to redirect a specific port to another IP
address and port. I've created a new chain called swmush. This is what I
have been typing.

ipchains -A swmush --proto tcp --source-port 22 -d 206.129.11.69 4402
e.g ipchains -A [chain]  [protocol] [incoming port] [destination address
and port]

This sets up the rules in the chain that I *think* I want. Though when I
try to telnet in on port 22 it gives me a connection refused. To break
it down I want to telnet to xxx.xxx.xxx.xxx on port 22 and have that xxx
linux system automatically redirect to 206.129.11.69 on port 4402. Any
ideas? Thanks..

Shane

Reply via email to