Re: [Nolug] networking question

From: Joey Kelly <joey_at_joeykelly.net>
Date: Sun, 8 Aug 2004 15:05:26 -0500
Message-Id: <200408081505.26693.joey@joeykelly.net>

>
> iptables -t nat -A PREROUTING -d $REALADDRESS -j DNAT --to $INTERNALIP
> iptables -t nat -A POSTROUTING -s $INTERNALIP -j SNAT --to $REALADDRESS

That seems to have worked. Next step (after I make all of the clients work
correctly) is to drop all packets to the IP except those coming from the
remote office.

Thanks.

-- 
Joey Kelly
< Minister of the Gospel | Linux Consultant >
http://joeykelly.net
"I may have invented it, but Bill made it famous."
 --- David Bradley, the IBM employee that invented CTRL-ALT-DEL
___________________
Nolug mailing list
nolug@nolug.org
Received on 08/08/04

This archive was generated by hypermail 2.2.0 : 12/19/08 EST