VPN und routing

Post new topic   Reply to topic    DD-WRT Forum Index -> Allgemeine Fragen
Author Message
magnat
DD-WRT Novice


Joined: 10 Jun 2012
Posts: 2

PostPosted: Sun Jun 10, 2012 16:03    Post subject: VPN und routing Reply with quote
Hallo zusammen,

ich habe ein kleines Problem mit dem Routen über eine VPN Verbindung. Die VPN Verbindung wird aufgebaut und ist unter ppp0 verfügbar. Nun möchte ich anfragen an bestimmte IPs über die VPN Verbindung aufrufen der Rest soll aber über die Default Route laufen.

Es sollen z.B. alle anfragen an 80.67.0.0/20 über VPN laufen.

Kann mir da einer helfen?
Danke & Gruß
Sponsor
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Sun Jun 10, 2012 21:43    Post subject: Reply with quote
policiy based routing
ist hier das schlagwort

_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
magnat
DD-WRT Novice


Joined: 10 Jun 2012
Posts: 2

PostPosted: Tue Jun 12, 2012 6:36    Post subject: Reply with quote
Hi Sash,

vielen Dank für den Tip, leider komme ich trotzdem nicht weiter.

Ich versuche das hier:

> route del default
> route add default gw 192.168.0.1 metric 100
> ip route add default via 192.168.200.15 dev ppp0 table 50
> ip rule add to 80.67.0.0/20 table 50

Nun versuche ich eine Seite in dem IP Bereich 80.67.0.0/20 aufzurufen, jedoch funktioniert die DNS auflösung nicht mehr.

Was mache ich falsch? Was habe ich vergessen?


Zum Setup:
VPN -> FRITZBOX -> WRT -> Rechner

VPN-Server: IP: 200.200.13.10, VPN Netzwerk: 192.168.200.10 (Die Clients bekommen die IPS 192.168.200.15-20)
FRITZBOX: 192.168.0.0/24, Internet via DSL
WRT: IP: 192.168.1.1, 192.168.1.0/24, Internet via WAN Port an Fritzbox (Ip: 192.168.0.2)
Rechner: 192.168.1.20 GW: 192.168.1.1


Danke & Gruß
magnat
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Allgemeine Fragen All times are GMT

Navigation

 
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
You can attach files in this forum
You can download files in this forum