Re: [SLUG] linux box as router

2005-08-29 Thread Lindsay Holmwood

Michael Fox wrote:


On 8/29/05, Sridhar Dhanapalan <[EMAIL PROTECTED]> wrote:


This way, you are splitting up the tasks amongst the devices. The modem can
use PPPoA (which in many cases is better than PPPoE) but it doesn't hinder
firewalling/forwarding.



Yes, PPPoA in my opinion appears to be alot more robust then PPPoE, but YMMV.

You most likely find that because oE adds another layer of complexity. 
PPPoE is actually PPPoAoE.


Most DSLAMs actually support PPPoA, but you most likely won't be able to 
get support from your provider if connection level stuff goes awry. 
PPPoA is usually marginally (and I mean /marginally/) faster.


Cheers!
Lindsay
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] linux box as router

2005-08-29 Thread Shakthi Kannan
Hi,

> On 8/29/05, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> I would like to know it anyone is running a linux
> box as their adsl
> router/modem?

Very much, alive and kicking. I have an old P2 133
Mhz,   x86 system with 128 MB RAM where I installed
Slackware and converted it to a router. 

Earlier, I had used Knoppix 3.6 installed to hard disk
on this system. Do check my documentation at:

http://www.shakthimaan.com -> BSNL DataOne

Regards,

SK



Shakthi Kannan, MS
Software Engineer, Specsoft (Hexaware Technologies)
[E]: [EMAIL PROTECTED]  [M]: (91) 98407-87007
[W]: http://www.shakthimaan.com  [L]: Chennai, India


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] linux box as router

2005-08-28 Thread Michael Fox
On 8/29/05, Sridhar Dhanapalan <[EMAIL PROTECTED]> wrote:
> This way, you are splitting up the tasks amongst the devices. The modem can
> use PPPoA (which in many cases is better than PPPoE) but it doesn't hinder
> firewalling/forwarding.

Yes, PPPoA in my opinion appears to be alot more robust then PPPoE, but YMMV.

Currently my ADSL router is not doing bridge mode, the router is doing
all the work. I just port forward what I need to internal hosts. IN
this case smtp, http etc to my linux box.

Thanks
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] linux box as router

2005-08-28 Thread Sridhar Dhanapalan
On Mon, 29 Aug 2005 13:33, Michael Fox <[EMAIL PROTECTED]> wrote:
> Hi,
>
> What you want to do is very easy. Although I am not certain the
> existing ADSL router you own can be told or configured to be a dumb
> bridged ADSL modem, much like the Linksys ADSL2MUE units are by
> default. All this means is that the linux box would run PPPoE and do
> the authentication etc. Then you'd install and configure NAT (Network
> Address Translation) so that your internal lan can see and use the
> internet. Much like NAT built into the WAG54G, but in this case the
> linux box could handle more NAT entries and not fall over when too
> many are opened. etc.

This isn't necessary, and IMHO it would be undesirable. You're better off 
leaving the modem to handle the ADSL connection but setting it to 
automatically forward all packets to the firewall. The firewall can then 
choose what to do with them.

This way, you are splitting up the tasks amongst the devices. The modem can 
use PPPoA (which in many cases is better than PPPoE) but it doesn't hinder 
firewalling/forwarding.


-- 
Sridhar Dhanapalan  [Yama | http://www.pclinuxonline.com/]
  {GnuPG/OpenPGP: http://dhanapalan.webhop.net/yama.asc
   0x049D38B4 : A7A9 8A02 78CB AB1B FCE4 EEC6 2DD9 249B 049D 38B4}

"We'll do as you suggest and go with Linux. I've always liked that character 
from Peanuts." -- The Boss, "Dilbert"


pgpE0YCTAZOmg.pgp
Description: PGP signature
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [SLUG] linux box as router

2005-08-28 Thread james
> Hi.
>
> I would like to know it anyone is running a linux box as their adsl
> router/modem?

Yup.

>   /--\
>  |~|  |linux |  |-|
>  | network |<>|  |<>| ISP |
>  |_|  | box  |  |-|
>   \--/
>
> Is it possible?
Very much so. You get a firewall totally under your control that way, too. 
Whether
this is a good thing, is another matter :)

> How to do it?
Short version: rp-pppoe, iptables and at least two network cards.
The longer version (for iptables) is here: http://www.iptables.org/
You'll also want to look at this:
http://www.roaringpenguin.com/penguin/open_source_rp-pppoe.php

iptables is what you use to manipulate linux's packet filtering system 
(netfilter),
and rp-pppoe is Roaring Penguin's application for connecting on adsl.



> ---
>
> I have a WAG54G, which is very basic as a router and which I want to use as a
> bridge, then use a linux box to act as a gateway/firewall/router to my 
> internal
> network.
>
>   /--\
>   |\__/|  |linux |   |~|  |-|
>   |network |<=--=>|  |<->| WAG54G  |<>| ISP |
>   |/~~\|  | box  |   |_|  |-|
>   \--/
>
> Does anyone have experience with this?
I have no experience with that arrangement, myself. I use the Linux box as a
gateway/firewall between the internet (separate ADSL modem), wireless and 
internal
ethernet networks.

I'm sure others on the list are doing this, however.

Which ISP are you using? Some seem to be easier than others to connect to, with 
Linux.

> Can anyone point me to specific resources for this?
>
> Thanks.
> Luke
>
>
> --
> ._..
> .|  .| |.|/.|_ .
> .|__.|_|.|\.|_ .
> :61 421 276 282:
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] linux box as router

2005-08-28 Thread Simon Bowden

Hi,

I wrote up some stuff I did a fair while ago for at home.
I've got a different ISP and hardware now, but same applies, plus there's 
probably useful general notes:


http://www.cse.unsw.edu.au/~simonb/swiftel/

Cheers,

 - Simon

On Mon, 29 Aug 2005 [EMAIL PROTECTED] wrote:


Hi.

I would like to know it anyone is running a linux box as their adsl
router/modem?
 /--\
|~|  |linux |  |-|
| network |<>|  |<>| ISP |
|_|  | box  |  |-|
 \--/

Is it possible? How to do it?

---

I have a WAG54G, which is very basic as a router and which I want to use as a
bridge, then use a linux box to act as a gateway/firewall/router to my internal
network.

 /--\
 |\__/|  |linux |   |~|  |-|
 |network |<=--=>|  |<->| WAG54G  |<>| ISP |
 |/~~\|  | box  |   |_|  |-|
 \--/

Does anyone have experience with this?
Can anyone point me to specific resources for this?

Thanks.
Luke


--
._..
.|  .| |.|/.|_ .
.|__.|_|.|\.|_ .
:61 421 276 282:
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] linux box as router

2005-08-28 Thread Michael Fox
Hi,

What you want to do is very easy. Although I am not certain the
existing ADSL router you own can be told or configured to be a dumb
bridged ADSL modem, much like the Linksys ADSL2MUE units are by
default. All this means is that the linux box would run PPPoE and do
the authentication etc. Then you'd install and configure NAT (Network
Address Translation) so that your internal lan can see and use the
internet. Much like NAT built into the WAG54G, but in this case the
linux box could handle more NAT entries and not fall over when too
many are opened. etc.

Take a look at one of the ip-masquerading howto guides that use to be
found on one of the Linux Documentation Project mirror sites. I am
guessing its probably been rewritten and maybe called something else.

Although I suspect at the moment, your WAG54G probably is not going to
be able to be a bridged/dump ADSL ethernet modem. ie. not going to be
able to disable nat, dhcp and all the other functions that make the
device it is.

On 8/29/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi.
> 
> I would like to know it anyone is running a linux box as their adsl
> router/modem?
>   /--\
>  |~|  |linux |  |-|
>  | network |<>|  |<>| ISP |
>  |_|  | box  |  |-|
>   \--/
> 
> Is it possible? How to do it?
> 
> ---
> 
> I have a WAG54G, which is very basic as a router and which I want to use as a
> bridge, then use a linux box to act as a gateway/firewall/router to my 
> internal
> network.
> 
>   /--\
>   |\__/|  |linux |   |~|  |-|
>   |network |<=--=>|  |<->| WAG54G  |<>| ISP |
>   |/~~\|  | box  |   |_|  |-|
>   \--/
> 
> Does anyone have experience with this?
> Can anyone point me to specific resources for this?
> 
> Thanks.
> Luke
> 
> 
> --
> ._..
> .|  .| |.|/.|_ .
> .|__.|_|.|\.|_ .
> :61 421 276 282:
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] linux box as router

2005-08-28 Thread luke
Hi.

I would like to know it anyone is running a linux box as their adsl
router/modem?
  /--\
 |~|  |linux |  |-|
 | network |<>|  |<>| ISP |
 |_|  | box  |  |-|
  \--/

Is it possible? How to do it?

---

I have a WAG54G, which is very basic as a router and which I want to use as a
bridge, then use a linux box to act as a gateway/firewall/router to my internal
network.

  /--\   
  |\__/|  |linux |   |~|  |-|
  |network |<=--=>|  |<->| WAG54G  |<>| ISP |
  |/~~\|  | box  |   |_|  |-|
  \--/ 

Does anyone have experience with this?
Can anyone point me to specific resources for this?

Thanks.
Luke

 
-- 
._..
.|  .| |.|/.|_ .
.|__.|_|.|\.|_ .
:61 421 276 282:
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html