WRT610N und OpenVPN

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC basierende Hardware
Author Message
skapi
DD-WRT Novice


Joined: 30 Jan 2012
Posts: 11

PostPosted: Tue Jan 06, 2015 13:07    Post subject: WRT610N und OpenVPN Reply with quote
Hallo!

Ich hab da ein kleines Problem mit der konfig. vom OpenVPN Server am Router.
Ich hab mir das so vorgestellt... Generell soll der Traffic nicht übers VPN lauf. Wenn ich jedoch auf mein NAS zugreifen will (Web IF) soll dann ins Heimnetzwerk zugegriffen werden.
Die Einstellungen vom VPN Server sind im Anhang.
Das Problem ist jetzt, dass wenn ich bei "Redirect to default Gateway" auf "Disable" Schalte ich die Geräte im Heimnetz nicht erreichen kann, bei "Enable" schon.
Ist der Gateway auf Enable komm ich nicht ins Internet.
Daraufhin hab ich die Firewall Rules folgendermaßen angepasst

    iptables -I INPUT 1 -p tcp --dport 443 -j ACCEPT
    iptables -I FORWARD 1 --source 10.8.0.0/24 -j ACCEPT
    iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o br0 -j MASQUERADE
    iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -j MASQUERADE
    iptables -I FORWARD -i br0 -o tun2 -j ACCEPT
    iptables -I FORWARD -i tun2 -o br0 -j ACCEPT
    iptables -t nat -I POSTROUTING -o tun2 -j MASQUERADE


Dann ging das Internet aber so wie ich das verstehe geht dann der ganze Traffic übers VPN?!
Weiters ist nach der Eingabe das Gerät, bei welchem ich ein Prot Forwarding habe verschwunden und es lassen sich auch keine neuen mehr eintragen.
Auch wenn ich unter "Additional Config" beim OpenVPN Server was eintrage ist plötzlich die IP vom OVPN Server weg (10.8.0.0).

Irgendwas läuft da nicht ganz rund, hat jemand eine Idee?



DD_ovpn.jpg
 Description:
 Filesize:  59.93 KB
 Viewed:  4698 Time(s)

DD_ovpn.jpg


Sponsor
skapi
DD-WRT Novice


Joined: 30 Jan 2012
Posts: 11

PostPosted: Thu Jan 08, 2015 10:42    Post subject: Reply with quote
keiner eine Idee an was das liegen könnte?
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC basierende Hardware 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