Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Router
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Der_Biber
n00b
n00b


Joined: 14 Jan 2003
Posts: 26

PostPosted: Wed Mar 12, 2003 6:30 pm    Post subject: Router Reply with quote

Hi,
Ich möchte eine Router mit Gentoo einrichten.
Welche Pakete benötige ich dafür und welche Dateien muss ich dafür editieren.
Ich habe keine Datei gefunden, in der das routing geregelt wird.

vielen Danke
Back to top
View user's profile Send private message
firefly
Advocate
Advocate


Joined: 31 Oct 2002
Posts: 3847

PostPosted: Wed Mar 12, 2003 8:43 pm    Post subject: Reply with quote

hmm etwas einfacher um einen router aufzusetzen als gentoo is bestimmt Fli4l:)www.fli4l.de
Ich hab selber bevor ich von getoo was gelesen hatte nen router mit fli4l bestückt. läuft um einges besser als ne blöde windoof version:) ;)
_________________
Ein Ring, sie zu knechten, sie alle zu finden,
Ins Dunkel zu treiben und ewig zu binden
Im Lande Mordor, wo die Schatten drohn.
Back to top
View user's profile Send private message
Der_Biber
n00b
n00b


Joined: 14 Jan 2003
Posts: 26

PostPosted: Wed Mar 12, 2003 9:39 pm    Post subject: Reply with quote

Daran habe ich auch gedacht, aber ich würde lieber Gentoo benutzen, da ich auch einen DNS-Server benutze...

Last edited by Der_Biber on Thu Mar 13, 2003 12:31 am; edited 1 time in total
Back to top
View user's profile Send private message
Sören
n00b
n00b


Joined: 20 Oct 2002
Posts: 20

PostPosted: Wed Mar 12, 2003 11:08 pm    Post subject: Reply with quote

Bei Fli4l ist ein DNS dabei, der kann zwar nicht alles, aber alles was man in einem kleinen Heimnetzwerk braucht.
Ich habe selbst ein Fli4l-Router, dan ding ist cool. Ich verlagere aber langsam alles auf mein Gentoo-Server.

PS: Um einen Gentoo-Router zu rechtfertigen muss man sehr viel Zeit in ihn investieren. Ich habe ihn eigenlich nur, um daran rumzuspielen, ansonsten würde ich sagen nimm Fli4l, das ist einfacher.
Back to top
View user's profile Send private message
Der_Biber
n00b
n00b


Joined: 14 Jan 2003
Posts: 26

PostPosted: Thu Mar 13, 2003 12:30 am    Post subject: Reply with quote

Ich hatte einige Zeit Fli4l laufen, aber ich möchte eine "richtigen" Router aufsetzen 8) ! Bind und DHCP läuft auch schon wunderbar, nur routen will der nicht
Back to top
View user's profile Send private message
Warriors Prayer
n00b
n00b


Joined: 11 Nov 2002
Posts: 30
Location: http://localhost

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

hi,

iptables willst du haben.

meine /etc/conf.d/iptables:

# Location in which iptables initscript will save set rules on
IPTABLES_SAVE="/var/lib/iptables/rules-save"

echo "1" > /proc/sys/net/ipv4/ip_forward
echo "1" > /proc/sys/net/ipv4/ip_dynaddr
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu

iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport 2000 -j DNAT --to 192.168.0.66
iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport 2001 -j DNAT --to 192.168.0.66
iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport 27960 -j DNAT --to 192.168.0.191


wobei ppp0 mein TDSL Anschluß ist.

Die bei mir geladenen Kernel Module:

ip_tables 13784 11 [ipt_state ipt_REJECT ipt_MARK ipt_length iptable_mangle ipt_TCPMSS iptable_filter ipt_MASQUERADE iptable_nat]


Viel Erfolg.
_________________
Abit KT7A RAID, Athlon 1333, 384 MB RAM
Geforce 4, SB Live, Realtek 8139, DAWI 2976 UW
2x Maxtor 34098 H4 RAID0
WD 1000 BB hda
Plextor 1610A ATAPI, Pioneer DVD 303S SCSI
1.4 RC2, Gnome2.2, German
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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