Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

how to create a gentoo proxy server?

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
Falchion
n00b
n00b
Posts: 57
Joined: Sun Dec 18, 2005 1:18 pm

how to create a gentoo proxy server?

  • Quote

Post by Falchion » Sat Dec 24, 2005 1:55 pm

This post is from a noob the never create a linux server before.

I want to create a simple LAN server that has bandwith manager, http replicator for LAN, and firewall. How do I start? :\
I should understand some of Linux's technical terms by now.... but please bear with me if I don't.

Thank you!
Top
Aries-Belgium
l33t
l33t
User avatar
Posts: 730
Joined: Fri Jul 08, 2005 12:38 pm
Location: Willebroek, Belgium

  • Quote

Post by Aries-Belgium » Sat Dec 24, 2005 2:19 pm

Hi,
On the Gentoo Wiki pages you can find a nice guide for setting up a Home Server.

Good luck ...
Top
Falchion
n00b
n00b
Posts: 57
Joined: Sun Dec 18, 2005 1:18 pm

  • Quote

Post by Falchion » Tue Jan 03, 2006 2:10 am

Thx for the reply.
I just finished installing Gentoo... yup, it took me days to do this, but now I've done it :)
moving on to that page... I have 2 questions about it:

1) I don't know how to do fresh install on those components mentioned on the requirement section on the top of the page:
rcs - to do simple version control on your config files etc.
snort -
AIDE
rrdtools - used by ntop to store graphs
ntop - to get statistics on your traffic.
iptables - the heart of the matter.
logsentry - keep tap on logs.
ntp - get a correct time.
sshd -

2) I also noticed that they have 2 network card + 1 onboard???? I only have 1 network card and 1 onboard... is this sufficient or do I need to buy another one.
I also remember that I had a problem configuring onboard network card "lo"(for manual configuration during liveCD) as it would ping the gateway but won't connect to the servers that I put on nameservers. Is it a normal problem with onboard card?? Is that why the guide use two more external network cards and leave that one untouched??

Thank you
Top
Falchion
n00b
n00b
Posts: 57
Joined: Sun Dec 18, 2005 1:18 pm

  • Quote

Post by Falchion » Tue Jan 03, 2006 12:47 pm

ok, I just noticed that the cd gave a website to install those programs...
I still tho, don't know where to get rcs, snort, and sshd.

anyone willing to help?

I also still have question no.2 unanswered :(
Top
spufi
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 119
Joined: Thu Apr 25, 2002 10:07 am
Location: Mechelen - Belgium

  • Quote

Post by spufi » Tue Jan 03, 2006 1:27 pm

Falchion wrote:I still tho, don't know where to get rcs, snort, and sshd.
in the "home-server" howto, /everything/ is explained ("emerge ntop, emerge net-analyzer/rrdtool, etc etc ").
Mind you that some of these packages require ~x86, not stable.
Falchion wrote:I also still have question no.2 unanswered :(
'lo' isn't your onboard nic: lo is "loopback", it's a virtual network card, without much use (unless you go into details).
Top
Falchion
n00b
n00b
Posts: 57
Joined: Sun Dec 18, 2005 1:18 pm

  • Quote

Post by Falchion » Tue Jan 03, 2006 2:36 pm

spufi wrote:
Falchion wrote:I still tho, don't know where to get rcs, snort, and sshd.
in the "home-server" howto, /everything/ is explained ("emerge ntop, emerge net-analyzer/rrdtool, etc etc ").
Mind you that some of these packages require ~x86, not stable.
Falchion wrote:I also still have question no.2 unanswered :(
'lo' isn't your onboard nic: lo is "loopback", it's a virtual network card, without much use (unless you go into details).
thx you, I couldn't believe I missed that when I went thru that page.

ic... I guess during boot, gentoo couldn't really detected my onboard ethernet card, thank you so much for clarifying. No wonder I couldn't connect to the internet.

ok then, another question, when I did ls /lib/modules/`uname -r `/kernel/drivers/net, it list several modules, but I'm not sure which one is for my onboard card....
my motherboard is Asrock 775VM800, how do I know which one is needed?

sorry for all the questions :(

edit: I found out that I can do lspci and it will list the module for my ethernet card... so it says that mine is VT6102 [RHINE-II].... now, which is it??? I've goggled "VT6102 module" and it explain nothing.

edit: ok, this might look stupid, but I just saw "via-rhine.ko" on the list.... I guess this must be it?? :) oh well, gotta try to find out

edit: modprobe via-rhine does nothing... I did ifconfig and it still display lo. Anyone can help? the module id is: 1106:3065.

edit: nvm, stupid me just found out that I had to do "ifconfig eth0", and it actually show up!!! :) I guess now I need to configure that now.

thx for all the help, expect more questions coming after this!!! :shock:

edit: OMG, IT WORKS! I'M CONNECTED!!! yay, I'm no longer noob!!! ok, plz don't delete this thread since I'll have more real server related question after this.
Top
spufi
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 119
Joined: Thu Apr 25, 2002 10:07 am
Location: Mechelen - Belgium

  • Quote

Post by spufi » Tue Jan 03, 2006 7:32 pm

make sure you add built-in support for your network card when you start configuring your kernel, not as module.
Top
Falchion
n00b
n00b
Posts: 57
Joined: Sun Dec 18, 2005 1:18 pm

  • Quote

Post by Falchion » Wed Jan 04, 2006 2:21 am

spufi wrote:make sure you add built-in support for your network card when you start configuring your kernel, not as module.
Thx for telling, I did read somewhere along the line about doing this...
But I'm still not too familiar with kernel yet... I used Genkernel to compile. How do I do this?
Top
spufi
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 119
Joined: Thu Apr 25, 2002 10:07 am
Location: Mechelen - Belgium

  • Quote

Post by spufi » Wed Jan 04, 2006 7:57 am

Falchion wrote:I used Genkernel to compile. How do I do this?
No idea, never used genkernel. I'm pretty sure it's all nicely explained in the handbook.
Top
PietdeBoer
Apprentice
Apprentice
Posts: 244
Joined: Thu Oct 20, 2005 4:38 pm
Location: Eindhoven, the Netherlands

  • Quote

Post by PietdeBoer » Wed Jan 04, 2006 8:40 am

perhaps you should try to switch over to a manual compiled kernel....

its relatively easy.. many people think its **** difficult :P but it aint..

read the gentoo docs a few times.. then you'll see what you have to do to create your own compiled kernel ;)


the 2 nics in the tut. are neccesary for setting your server up as a router for your home network..... ofcourse you dont need 2 nics if you are only trying to built a proxy server :) *correct me if im wrong* cause iam not 100% sure about it.



good luck with your server ;)
_ Got Root? _
Top
spufi
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 119
Joined: Thu Apr 25, 2002 10:07 am
Location: Mechelen - Belgium

  • Quote

Post by spufi » Wed Jan 04, 2006 8:46 am

PietdeBoer wrote: *correct me if im wrong* cause iam not 100% sure about it.
That's correct. You only need 2 nics when there's gonna be routing involved.
Top
Post Reply

11 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic