Port re-direction

How do I redirect from port 1430 to Port 20 and vice versa. Under Slackware
mykulAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
hnoConnect With a Mentor Commented:
Port 20 is normally used for ftp-data.. what are you trying to do?

To redirect ports you can use ipfwadm.

Redirect TCP port 1430 to 20
ipfwadm -I -a accept -P tcp -D this.host 1430 -r 20

Other options is to use a proxy, like redir or similar.

I don't beleive that you can switch the two ports (1430 redirected to 20, and 20 redirected to 1430) by other means than having the server processes to switch ports.

0
 
mykulAuthor Commented:
Thank you for your help


0
All Courses

From novice to tech pro — start learning today.