> What i need is when server1 try to connect to server2 on port 25 (smtp)
> it will be on bridge machine redirected to server3. Is it possible?

Yes.

> I tried this (on bridge machine) and it seems it dont work:
>
> /sbin/iptables -t nat -A POSTROUTING -o eth2 -j SNAT --to-source
> 192.168.0.1

This should not be needed, since Linux will use the IP address of eth2 by 
default.

> /sbin/iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 25 -j DNAT
> --to-destination 192.168.0.2

This looks alright. Do you have the br-nf code compiled? What's your kernel 
version?

-- 
cheers,
Bart

_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://www.math.leidenuniv.nl/mailman/listinfo/bridge

Reply via email to