public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] linux router setup - howto?
@ 2006-07-07  0:09 Mike Markowski
  2006-07-07  0:19 ` Ow Mun Heng
  2006-07-07 16:47 ` [gentoo-user] " James
  0 siblings, 2 replies; 5+ messages in thread
From: Mike Markowski @ 2006-07-07  0:09 UTC (permalink / raw
  To: gentoo-user

Can anyone point me to a howto or advice for the following?

On my gentoo box I have:

   - ppp dialup link to the internet (rural living is not very
     broadband friendly yet)

   - wireless access point on the ethernet interface

I'd like to use this box as a router so that any wireless traffic
through the WAP is routed appropriately between ppp0 and eth0.

I selected Advanced Routing in the kernel (2.6.17-r1), and have /proc fs
and sysctl support.  I also turned on forwarding using

   echo "1" > /proc/sys/net/ipv4/ip_forward

What more needs doing?

Thanks!
Mike
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] linux router setup - howto?
  2006-07-07  0:09 [gentoo-user] linux router setup - howto? Mike Markowski
@ 2006-07-07  0:19 ` Ow Mun Heng
  2006-07-07  1:49   ` Andrew Frink
  2006-07-07 14:48   ` Mike Markowski
  2006-07-07 16:47 ` [gentoo-user] " James
  1 sibling, 2 replies; 5+ messages in thread
From: Ow Mun Heng @ 2006-07-07  0:19 UTC (permalink / raw
  To: gentoo-user

On Thu, 2006-07-06 at 20:09 -0400, Mike Markowski wrote:
>    echo "1" > /proc/sys/net/ipv4/ip_forward
> 
> What more needs doing?

Search through either gentoo-wiki or gentoo.org. IIRC there are step by
step instructions on doing this.
-- 
Ow Mun Heng <Ow.Mun.Heng@wdc.com>

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] linux router setup - howto?
  2006-07-07  0:19 ` Ow Mun Heng
@ 2006-07-07  1:49   ` Andrew Frink
  2006-07-07 14:48   ` Mike Markowski
  1 sibling, 0 replies; 5+ messages in thread
From: Andrew Frink @ 2006-07-07  1:49 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 570 bytes --]

Mike,
in case you are lazy, or haven't had the time too look, this is the guide i
followed to set this up for my house,
http://gentoo-wiki.com/HOWTO_setup_a_home-server

cynyr

On 7/6/06, Ow Mun Heng <Ow.Mun.Heng@wdc.com> wrote:
>
> On Thu, 2006-07-06 at 20:09 -0400, Mike Markowski wrote:
> >    echo "1" > /proc/sys/net/ipv4/ip_forward
> >
> > What more needs doing?
>
> Search through either gentoo-wiki or gentoo.org. IIRC there are step by
> step instructions on doing this.
> --
> Ow Mun Heng <Ow.Mun.Heng@wdc.com>
>
> --
> gentoo-user@gentoo.org mailing list
>
>

[-- Attachment #2: Type: text/html, Size: 1098 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] linux router setup - howto?
  2006-07-07  0:19 ` Ow Mun Heng
  2006-07-07  1:49   ` Andrew Frink
@ 2006-07-07 14:48   ` Mike Markowski
  1 sibling, 0 replies; 5+ messages in thread
From: Mike Markowski @ 2006-07-07 14:48 UTC (permalink / raw
  To: gentoo-user

Ow Mun Heng wrote:
> On Thu, 2006-07-06 at 20:09 -0400, Mike Markowski wrote:
>>    echo "1" > /proc/sys/net/ipv4/ip_forward
>>
>> What more needs doing?
> 
> Search through either gentoo-wiki or gentoo.org. IIRC there are step by
> step instructions on doing this.

Great, thanks.  For anyone else looking, I found one at

http://www.gentoo.org/doc/en/home-router-howto.xml

Seems my earlier google didn't turn this one up high on the list.  I'm
still struggling with some NAT issues, but looks like I'm not too far.
Thanks again,

Mike
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user]  Re: linux router setup - howto?
  2006-07-07  0:09 [gentoo-user] linux router setup - howto? Mike Markowski
  2006-07-07  0:19 ` Ow Mun Heng
@ 2006-07-07 16:47 ` James
  1 sibling, 0 replies; 5+ messages in thread
From: James @ 2006-07-07 16:47 UTC (permalink / raw
  To: gentoo-user

Mike Markowski <mm <at> UDel.Edu> writes:


> Can anyone point me to a howto or advice for the following?
> On my gentoo box I have:

> I'd like to use this box as a router so that any wireless traffic
> through the WAP is routed appropriately between ppp0 and eth0.


Hello Mike, Setting up a router, based on Gentoo, kind of goes
hand in hand with building a firewall. (Note you need a firewall
so you are in charge of how your bandwidth and network resources
are allocated. If you do not secure your router, some body else
will perform stealth admin task on your network and limited resource.

I suggest you read quite a lot of information, before making your 
final decistion.

Here are some links, in no special order, that you will find
interesting:

General Routing and Management:
http://gentoo-wiki.com/HOWTO_setup_a_home-server

http://www.tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.iproute2.explore.html


Firewalls:
http://gentoo-wiki.com/HOWTO_Iptables_for_newbies

http://openchemist.net/linux/howto/files/theWall

http://kmyfirewall.sourceforge.net/

http://gentoo-wiki.com/HOWTO_Iptables_and_stateful_firewalls#Should_I_take_this_tutorial

http://forums.gentoo.org/viewtopic.php?p=377447

http://www.iptablesrocks.org/

http://www.braingia.org/books/linuxfirewalls/

http://daniel.6dns.org/info/iptables/


I hope you find these sites useful. One note. There
are many tools for securing your router/network.

ON your sytem you can:
# ls /usr/portage/net-firewall
to see a listing of packaged tools for securiting your system.
Then you can read about them, knowing that if you want
to install one of them and test drive the software, it's
only an emerge away.

HTH,

James



-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-07-07 17:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-07  0:09 [gentoo-user] linux router setup - howto? Mike Markowski
2006-07-07  0:19 ` Ow Mun Heng
2006-07-07  1:49   ` Andrew Frink
2006-07-07 14:48   ` Mike Markowski
2006-07-07 16:47 ` [gentoo-user] " James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox