Re: attempting ip forwarding... i think!!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 15/10/2007, Zhukov Pavel <gelios@xxxxxxxxx> 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

net.ipv4.ip_forward=1

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.

HTH,
Jonathan


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux