Are you trying to forward port 25 to a local machine? IIRC you need special
options when you compile the kernel to do this with IPchains, not sure if
its in a stock RH kernel.

If your running a 2.2 kernel you could use ipmasqadm. Rebuild it aginst
your running 2.2 kernel.
ftp://ftp.valinux.com/pub/mirrors/redhat/contrib/libc6/SRPMS/ipmasqadm-0.4.2
-4.src.rpm

ipmasqadm portfw -a -P tcp -L 192.168.0.3 25 -R 172.16.0.1 25

If your using a 2.4 you could use iptables.

/sbin/iptables -t nat -A PREROUTING -p tcp -d 192.168.0.3  --dport 25 -j
DNAT --to 10.0.0.7:25

Kirk

>Network, tries to do it with 
>IPchains, but as I do not understand well to him to ipchains I have obtained 
>the results.
>
>I used: ipchains -A input -p tcp -s 0.0.0.0/0 25 -j REDIRECT -d 10.0.0.7 25
>
>Thanks for any suggestion.
>
>Regards,
>
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
>
>_______________________________________________
>Redhat-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-list
>
>



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to