On Tue, Oct 23, 2001 at 11:26:05PM +1000, Howard Lowndes wrote:
> Basically I need the 172.24.1.1 address to be the default gateway, but I
> always want the Linux Box to say that its interface address to that
> default gateway is 234.234.234.234 for the purposes of pinging and
> masquerading.

iptables?

I think you want to modify the source address?

I haven't tested this, but...
iptables -t nat -I POSTROUTING -o eth1 -s 172.24.1.1 -j SNAT --to 234.234.234.234




-- 
        chesty


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to