> On Thu, 25 Jan 2001, Cristian Grigoriu wrote:
> >
> > A reusit cineva masquerading folosind iptables
>
> /sbin/iptables -I POSTROUTING -t nat -o ethX -s 192.168.1.0 \
> -j SNAT --to-source YourGatewayRouterFirewalIP
> sau
>
> /sbin/iptables -I POSTROUTING -t nat -o ethX -s 192.168.1.0 -j MASQUERADE
>
IP=/usr/bin/iptabes
$IP -t nat -A POSTROUTING -s 192.168.1.0/24 -d 192.168.1.0/24 -j ACCEPT
$IP -t nat -A POSTROUTING -s 192.168.1.0/24 -j SNAT --to ipeu'tau
Eugen
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
unsubscribe from this list.