On Thu, May 12, 2005 at 05:03:35PM +0300, Stanislav Nedelchev wrote: > The problem is that i can't check e-mails if server name in e-mail client is > mail.mail.org i can check e-mail only if server addrress is 192.168.0.2 You don't do things like this with routing, but with NAT. More specifically, you have to DNAT mail.mail.org to your private IP, and SNAT your LAN to the public IP of the router (well, not necessarily that one but an external IP). Supposing mail.mail.org resolves to 1.2.3.4, and your router is 1.2.3.5, you do something like: iptables -t nat -A PREROUTING -d 1.2.3.4 -j DNAT --to-destination 192.168.0.2 iptables -t nat -A POSTROUTING -s 192.168.0.0/16 -d 1.2.3.4 -j SNAT --to-source 1.2.3.5 Bye, Peter Surda (Shurdeek) <shurdeek@xxxxxxxxxxxx>, ICQ 10236103, +436505122023 -- three saints: looser & lamer & hacker _______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc