attempting ip forwarding... i think!!
jonathan.underwood at gmail.com
Mon Oct 15 11:47:42 UTC 2007
On 15/10/2007, Zhukov Pavel <gelios at gmail.com> wrote:
> read carefully what i wrote you in IRC. _ath0_ istead of _eth0_ since it
> your gate to internet.
> and do
> route add default gw 192.168.2.33
> in internal box
Also, on the laptop you need to allow packet forwarding - do:
echo 1 > /proc/sys/net/ipv4/ip_forward
to turn it on. To make that persist across reboots, you need to edit
/etc/sysctl.conf such that it will contain the line
As an aside, with things like this, you can configure the necessary
iptables commands manually, as you are doing, but you might also
consider a front end to iptables which takes much of the complexity
away for you - system-config-securitylevel is a bit simple, so I tend
to use shorewall (yum install shorewall). YMMV.
More information about the users