LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   iptables port forwarding (https://www.linuxquestions.org/questions/linux-general-1/iptables-port-forwarding-411800/)

abdul_zu 02-05-2006 01:42 AM

iptables port forwarding
 
Hi all,

I want to forward 1221 ports from any host to my server 212.125.xxx.xxx:1220 using both UDP/TCP.

Please advice me what will be the parameter for iptables?

bulliver 02-05-2006 03:39 AM

You need DNAT. Have a look here:
http://linux-ip.net/html/nat-dnat.html

or at any other online iptables tutorial.


All times are GMT -5. The time now is 09:12 AM.