PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : OpenBSD 3.7 routen lassen??



penguin007
15.06.05, 18:11
Hi

Ich habe mal zu testzwecken openbsd 3.7 installiert dann mein xDSL anschluss eingerichtet dhcp server und jetzt wollte ich das ding mal routen lassen das funkt nicht ganz oder besser gesagt gar nicht.
Die Howtos was ich gelesen habe sagen alle ein einfaches


sysctl -w net.inet.ip.forwarding=1
und schon sollte routing funken in meinem fall tut es nicht

hier mal mein route show

$ sudo route show
Routing tables

Internet:
Destination Gateway Flags Refs Use Mtu Interface
default 172.25.46.39 UG 0 6846 - ppp0
inode 172.16.203.1 UGHS 0 7130 - rl0
loopback localhost UGRS 0 0 33224 lo0
localhost localhost UH 0 41 33224 lo0
172.16.203/24 link#2 UC 0 0 - rl0
172.16.203.1 00:07:4f:a2:18:00 UHLc 0 0 - rl0
172.25.46.39 85-124-19-118.dyna UH 0 0 - ppp0
192.168.0/24 link#1 UC 0 0 - xl0
192.168.0.6 00:11:2f:86:42:6b UHLc 0 47 - xl0
BASE-ADDRESS.MCAST localhost URS 0 0 33224 lo0

Internet6:
Destination Gateway Flags Refs Use Mtu Interface
::/104 localhost..org UGRS 0 0 - lo0
::/96 localhost..org UGRS 0 0 - lo0
localhost..org localhost..org UH 0 0 33224 lo0
::127.0.0.0/104 localhost..org UGRS 0 0 - lo0
::224.0.0.0/100 localhost..org UGRS 0 0 - lo0
::255.0.0.0/104 localhost..org UGRS 0 0 - lo0
::ffff:0.0.0.0/96 localhost..org UGRS 0 0 - lo0
2002::/24 localhost..org UGRS 0 0 - lo0
2002:7f00::/24 localhost..org UGRS 0 0 - lo0
2002:e000::/20 localhost..org UGRS 0 0 - lo0
2002:ff00::/24 localhost..org UGRS 0 0 - lo0
fe80::/10 localhost..org UGRS 0 0 - lo0
fe80::%xl0/64 link#1 UC 0 0 - xl0
fe80::210:5aff:fe6 00:10:5a:64:18:dd UHL 0 0 - lo0
fe80::%rl0/64 link#2 UC 0 0 - rl0
fe80::2e0:7dff:fee 00:e0:7d:e7:26:49 UHL 0 0 - lo0
fe80::%lo0/64 fe80::1%lo0 U 0 0 - lo0
fe80::1%lo0 link#6 UHL 0 0 - lo0
fec0::/10 localhost..org UGRS 0 0 - lo0
ff01::/32 localhost..org UC 0 0 - lo0
ff02::%xl0/32 link#1 UC 0 0 - xl0
ff02::%rl0/32 link#2 UC 0 0 - rl0
ff02::%lo0/32 localhost..org UC 0 0 - lo0
Danke für eure Antworten

IT-Low
15.06.05, 18:16
Suchst du nach NAT? IP-Forwarding hast du ja schon aktiviert. Eventuell hilft dir das weiter:

http://www.openbsd.org/faq/pf/nat.html

matze_
15.06.05, 19:00
Und bevor du meinst das is dir zu kompliziert hier nen Auszug aus nem guten Howto.

http://www.fmi.uni-passau.de/~grafj/openbsd/3.5/index.html#11._NAT_und_Firewall

Das ist für OBSD 3.5 und nicht mehr ganz aktuell. Der Syntax für die Nutzung von Anchors hat sich geändert (nur für den Fall, daß du die nutzen willst). Siehe dazu pf-FAQ, die mein Vorposter bereits verlinkt hat.

penguin007
16.06.05, 16:02
Hi

Ich möchte euch beiden danken für eure Hilfe jetzt funkt alles !
Nochmals danke ich dachte man muss nur ip forwarding aktivieren und das wars ich habe es bei allen howtos so verstanden.

p.s: es werden sicher noch ein paar fragen auftauchen in verbindung mit openbsd !

Cu