From: "Burton" Subject: IPTABLES HELP Date: Wed, 15 Dec 2004 15:09:08 -0800 Message-ID: <20041215231734.20439410C37@mailroute.thevine.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org Ok I have had some great help with people on this board I just have not found an answer to my problem. This is what I need to happen [Client]--->T1(12.22.81.1) -->[Linux 12.22.81.8 10025]-->[Windows Mail Server 204.250.113.2 25] Then I would like it to also send the data back though T1 (12.22.81.1) Current clients get to our SMTP server IE: [Client]--->T1(204.250.113.1) -->[Windows Mail Server 204.250.113.2 25] The point of this is my boss wants us to divert some traffic though t1 (12.22.81.1) but keep the our mail server on its current network This is what I have tried iptables -F service iptables stop iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 10025 -j DNAT --to 204.250.113.2:25 iptables -t filter -A FORWARD -i eth0 -d 204.250.113.2 - o eth1 -p tcp --dport 25 -j ACCEPT service iptables save service iptables start telnet 12.22.81.8 10025 I have no other scripts running in my IPTABLES that is why I do the flush and Ipfowarding is set to 1 Any Ideas?