Marshall Lucas wrote: ----------------->>>> I have followed several examples and the HOWTOs but I still cannot get my RedHat 7.2 box to port forward the SMTP port 25 into my internal network.
I need to route 66.87.33.118:25(RH 7.2 server) to 10.10.10.4:25(RH 6.1 server). 66.87.33.0 is on eth0 10.0.0.0 is on eth1 Also, it seems that my inbound speed is extremely slow. I can serve data very fast, but when I try to browse the web or download updates for RH it runs like a dog. Any ideas (maybe related to above). ----------------->>>> What is the rules your using? You need at least 2 of them. Are you default DROP? What is the error? My situation works well with a couple rules like this on default DROP fw: extIf="eth0" smtpIP="10.10.10.4" smtpPort="25" iptables -A FORWARD -i $extIf -d $smtpIP -j ACCEPT iptables -A PRETOUTING -t nat -i $extIf --dport $smtpPort -j DNAT --to $smtpIP The other thing that you have to make sure is configured is the SMTP server itself. It's gateway needs to be the firewall IP. HTH