On Tue, 2004-09-28 at 08:04, John Black wrote: > > You say "it will not let me out". Is that out to the internet ? > > I can't see the use for the above : > > - You assign an ip alias to eth0:0 > > - You forward all traffic coming in on eth0 (that is directed to the > > aliased ip 192.168.1.23) to 161.31.31.23 > > By doing this you won't get access to the internet. > > but, how would you forward outgoing traffic to this address? So > all traffic generated on 192.168.1.23 is see coming from 161.31.31.23? > > john it sounds like you're trying to do this: iptables -t nat -A POSTROUTING -o eth0 -s 192.168.1.23 \ -j SNAT --to-source 161.31.31.23 -j -- Jason Opperisano <opie@xxxxxxxxxxx>