Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I'm making my Gentoo box my LAN Gateway, help please.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Bangz
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2003
Posts: 148
Location: Brisbane/Austrralia

PostPosted: Thu Mar 27, 2003 11:04 am    Post subject: I'm making my Gentoo box my LAN Gateway, help please. Reply with quote

Hi there,

Since my initial install of Gentoo onto a spare system Ive kept it rather low profile and basically a small non GUI Server doing small things like FTP, Apache, DNS etc.

I want to now, however, make Gentoo also be my LAN Gateway to my ADSL Internet.

It only has a single Network Card, but considering in Windows I can be connected to ADSL, and share the Internet through the same Network card (My entire network is connected thru my switch, modem/router, and all PCs) I expect it to work the same with Gentoo.

My question is, when I installed Gentoo, I only gave it the options in kernel compile for the stuff it needed.

What stuff do I need to give it now in "make menuconfig" to ensure I can now use gentoo as a Gateway for my LAN to my ADSL (PPPoE).

I plan to run uPnP, Net-filter, port forwarding, and all modules for IRC and everything.
Back to top
View user's profile Send private message
reillyeon
n00b
n00b


Joined: 26 Mar 2003
Posts: 44
Location: Boston (ish)

PostPosted: Thu Mar 27, 2003 12:49 pm    Post subject: Reply with quote

I run the same setup here except I have two NICs which is generally recomended. In order to do PPPoE you need to enable PPP in menuconfig (Under Network Device Options) and under that all the non EXPARAMENTAL options. Then you need to emerge rp-pppoe. That provides pppd and the pppoe client as well as the adsl-setup, adsl-start, and adsl-stop scripts that you can use.

NOTE: The firewall options in adsl-setup use ipchains not iptables so they don't work. You need to do it manually.
Back to top
View user's profile Send private message
Bangz
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2003
Posts: 148
Location: Brisbane/Austrralia

PostPosted: Thu Mar 27, 2003 12:59 pm    Post subject: Reply with quote

Yeh I think Ive enabled all PPP stuff.

Im compiling it now, probably take overnight cos its on a Celery 266.
Back to top
View user's profile Send private message
reillyeon
n00b
n00b


Joined: 26 Mar 2003
Posts: 44
Location: Boston (ish)

PostPosted: Thu Mar 27, 2003 1:03 pm    Post subject: Reply with quote

Probably should have mentioned that you need to enable iptables in the Netfilter options and all the differtent matchers and other stuff there. This will give you the firewall and NAT and stuff.
Back to top
View user's profile Send private message
Bangz
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2003
Posts: 148
Location: Brisbane/Austrralia

PostPosted: Thu Mar 27, 2003 1:12 pm    Post subject: Reply with quote

Yep Im fairly certain I enabled iptables in Net-filter.
Back to top
View user's profile Send private message
Bangz
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2003
Posts: 148
Location: Brisbane/Austrralia

PostPosted: Thu Mar 27, 2003 2:13 pm    Post subject: Reply with quote

OK. I got it working now.

Works perfect, ADSL and my LAN from the same nic!

Now to get iptables and all the modules to share the ADSL flawlessly...

cheers guys
Back to top
View user's profile Send private message
paul138
Guru
Guru


Joined: 09 Aug 2002
Posts: 370
Location: Ottawa, ON

PostPosted: Thu Mar 27, 2003 5:05 pm    Post subject: Reply with quote

Try Shorewall for your iptables stuff. It's very simple. (maybe masked).
_________________
Talk is cheap because supply always exceeds demand.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum