Salam, iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j MASQUERADE replace 192.168.0.0 with your network
On 7/30/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I have a linux box (b1) connected to an ethernet adsl modem (rth0) and also > connected to a windows (b2) box through a wireless connection (ra0). > > although b1 is the default gateway and dns for b2, b2 can't access the > internet. > > notes: > b2 can ping b1. (and vice verse) > ip forwording is enabled on b1. > the adsl connection is the default gateway on b1. > > Any help getting b2 to connect the net through b1? > > _______________________________________________ > General mailing list > [email protected] > http://mail.jolug.org/mailman/listinfo/general_jolug.org > _______________________________________________ General mailing list [email protected] http://mail.jolug.org/mailman/listinfo/general_jolug.org
