[ale] SSH+multiple ports?

Mazukna, Thomas Thomas.Mazukna at delta.com
Fri May 25 08:45:50 EDT 2001


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.





More information about the Ale mailing list