Skip to Content.
Sympa Menu

baslinux - Re: [BL] gateway between two laptops

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: baslinux AT lists.ibiblio.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] gateway between two laptops
  • Date: Mon, 25 Aug 2008 14:32:05 +1200

Message from Steven
===================
Christof wrote:
> Unfortunately your scripts do not yet work on my system.
> I would like to know on what kind of system they were
> running for you:
>
> echo 1 > /proc/sys/net/ipv4/ip_forward
> ipchains -P forward DENY
> ipchains -A forward -s 192.168.1.0/24 -j MASQ

Try this:
--------------------------------------
ipchains -P forward DENY
ipchains -A forward -i eth0 -j MASQ
echo 1 > /proc/sys/net/ipv4/ip_forward
--------------------------------------
That assumes your wireless interface is
eth0. Change it to whatever your wireless
interface actually is.

Cheers,
Steven





Archive powered by MHonArc 2.6.24.

Top of Page