Coba:

Iptables -t nat -A PREROUTING -p tcp -d 192.168.0.100 --dport 25 -j DNAT
--to-destination 192.168.0.1:25

Salam
Harijanto

> -----Original Message-----
> From: Agung [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 26, 2003 8:01 AM
> To: [EMAIL PROTECTED]
> Subject: [linux-admin] Forward SMTP ke SMTP Server Lain
> 
> 
> Mohon bantuannya ,
> 
> Bagaimana setting iptables supaya yang mengakses port 25 
> (SMTP) server A (192.168.0.100) dilarikan ke port 25 server B 
> (192.168.0.1) ??
> 
> Saya coba perintah seperti dibawah , kok belum berhasil ...
> # iptables -t nat -A POSTROUTING -p tcp -o eth0 -s 
> 192.168.0.100 --sport 25 -j SNAT --to 192.168.0.1:25
> 
> Terima Kasih ...
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.463 / Virus Database: 262 - Release Date: 3/17/2003
>  
> 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.463 / Virus Database: 262 - Release Date: 3/17/2003
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Kirim email ke