[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] SSH+multiple ports?
- Subject: [ale] SSH+multiple ports?
- From: Thomas.Mazukna at delta.com (Mazukna, Thomas)
- Date: Fri, 25 May 2001 08:45:50 -0400
If you have ipchains running here is the line that will redirect from port
23 (telnet) to port 22 (ssh)
on any given interface/ip
(ipchains) -A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 23 -i ppp0 -p 6 -j
REDIRECT 22
what you can change:
-d 0.0.0.0/0.0.0.0 to ip/mask of your external interface if you have static
IP
-i ppp0 to interface you have connected to internet.
-p 6 - specifies protocol number
Tomas
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.