<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6249.1">
<TITLE>Port forwarding</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Verdana">I would like to forward incoming traffic from internet to "<195.198.111.x> port 80" to "<some other ip on the internet> port 80" in FC3 on the same interface. Let's say eth0. This is because we are moving some servers from one location to an other and need to take care of clients trying to reach the "old" ip and to make an as seemless move as possible.</FONT></P>

<P><FONT SIZE=2 FACE="Verdana">EXAMPLE:</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">ipmasqadm portfw -h<BR>
<BR>
<BR>
Usage: portfw -a -P PROTO -L LADDR LPORT -R RADDR RPORT [-p PREF] add entry<BR>
       portfw -d -P PROTO -L LADDR LPORT [-R RADDR RPORT]         delete entry<BR>
       portfw -f                                                  clear table<BR>
       portfw -l                                                  list table<BR>
       portfw {args} -n                                           no names<BR>
<BR>
PROTO is the protocol, can be "tcp" or "udp"<BR>
LADDR is the local interface receiving packets to be forwarded.<BR>
LPORT is the port being redirected.<BR>
RADDR is the remote address.<BR>
RPORT is the port being redirected to.<BR>
PREF  is the preference level (load balancing, default=10)</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">.</FONT>

<BR><FONT SIZE=2 FACE="Courier New">.</FONT>

<BR><FONT SIZE=2 FACE="Courier New">.</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">ipmasqadm portfw -a -P tcp -L</FONT> <FONT SIZE=2 FACE="Courier New">195.198.111.123</FONT><FONT SIZE=2 FACE="Courier New"> 80 -R 65.114.4.69 80</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Verdana">I can't find any ipmasqadm OR portfw in FC3.</FONT>

<BR><FONT SIZE=2 FACE="Verdana">Is there a way to accomplish this in FC3 in some way?</FONT>

<BR><FONT SIZE=2 FACE="Verdana">NOTE: I'm NOT after making NAT in iptables.</FONT>
</P>

<P><FONT SIZE=2 FACE="Verdana">Best regards</FONT>

<BR><FONT SIZE=2 FACE="Verdana">Jari Marikainen</FONT>
</P>

</BODY>
</HTML>