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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux