Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Port re-direction

Posted on 1997-12-19
2
Medium Priority
?
196 Views
Last Modified: 2013-12-15
How do I redirect from port 1430 to Port 20 and vice versa. Under Slackware
0
Comment
Question by:mykul
2 Comments
 
LVL 1

Accepted Solution

by:
hno earned 300 total points
ID: 1631068
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
 

Author Comment

by:mykul
ID: 1631069
Thank you for your help


0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses
Course of the Month8 days, 13 hours left to enroll

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question