routing to sub.domain

kevin@oceania.net kevin@oceania.net
Thu, 06 Jul 2000 12:01:58 +1000


I have by firewall and internal network setup using
$IPTABLES -t nat -A POSTROUTING -o $LOCALIF -j SNAT --to 203.41.132.69

This gives me access for my mail/http etc to the real world

I wish to be able to forward all packets to anthem.oceania.net
to 192.168.0.70 but It is not working using

$IPTABLES -A PREROUTING -t nat -p tcp -d anthem.oceania.net -j DNAT --to
192.168.0.70
$IPTABLES -A PREROUTING -t nat -p udp -d anthem.oceania.net -j DNAT --to
192.168.0.70

Iam using 1.1.0 and 2.4.0test1... (cannot get test2 to compile using the
same .config file?), What am I doing wrong here

Kind regards
Kevin