LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-19-2010, 04:45 AM   #1
cov
Member
 
Registered: Apr 2005
Location: Durban
Posts: 436

Rep: Reputation: 30
Bridged Router/Modem setup


I'm using a Debian box as a gateway.

I'm planning on bridging my DLink 604T modem/router so that traffic on the LAN goes to my gateway (which only has one NIC). The Debian box is running a PPPoe application which I'm hoping to log into the ISP through the DLink.

I plan to configure the box as a squid transparent proxy.

Most Howtos I've seen use NAT with 2 NICs, eth0 for the LAN and eth1 for the Internet.

Can someone point me to a step-through to set up NAT for this?
 
Old 05-19-2010, 05:23 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
you can follow those howto's all you need to change is your outside interface to ppp+
 
Old 05-19-2010, 05:35 AM   #3
cov
Member
 
Registered: Apr 2005
Location: Durban
Posts: 436

Original Poster
Rep: Reputation: 30
Great!

I guess ppp0 will do the trick?
 
Old 05-19-2010, 05:45 AM   #4
cov
Member
 
Registered: Apr 2005
Location: Durban
Posts: 436

Original Poster
Rep: Reputation: 30
No, sorry, when you said ppp+, you meant ppp+!
 
Old 05-19-2010, 06:55 AM   #5
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
ppp0 will not do the trick ppp+ will because of the way the kernel assigns interfaces, in some cases if ppp did not clean up you get ppp1 instead of ppp0
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can't manage to set up a router (eth1 bridged w/ wlan0 connected to eth0 Internet) kummiliim Linux - Networking 3 09-12-2009 09:45 AM
modem & router setup vertigo88x Linux - Networking 12 09-09-2007 03:46 AM
Home Network Setup (Modem -> Router -> Computer) jonostew Linux - Networking 4 08-04-2007 01:10 PM
how to setup dsl modem and router for webserver jun_tuko Linux - Networking 2 06-12-2007 10:13 PM
ADSL Routers Setup- Microsom Deskporte router 100 and Planet ADSL modem router mabonline Linux - Hardware 1 02-27-2004 05:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration