TP-Link WR1043ND & OpenVPN Tunnel

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


Joined: 22 Nov 2014
Posts: 1

PostPosted: Sun Nov 23, 2014 18:36    Post subject: TP-Link WR1043ND & OpenVPN Tunnel Reply with quote
Hi DD-WRT Community,
ich hoffe Ihr könnt mir weiterhelfen Smile
Vor etwa ein paar tagen hab ich angefangen mein TP Link "WR1043ND" umzuflashen, sodass DD-WRT oder auch OpenWrt drauf läuft.

So nun zu meinem Problem:
Ich möchte gerne auf meienm TP-Link Router eine VPN-Verbindung einrichten, soll bedeuten das ich gerne den kompletten Datenverkehr über den TP-Link Router mit einem OpenVPN Tunneln möchte. *Besonderheit ist das der TP-Link Router noch über ein Proxy sich mit dem Internet verbinden muss!

(Viele fragen sich warum noch ein Proxy? Ich selber bin in der Ausbildung und beziehe auch von da Internet was über ein Proxy läuft, leider ist das ganze sehr eingeschränkt darum VPN!)

Router Modell: TP-Link WR1043ND

Über die Hilfe von der Community wäre ich sehr dankbar!

Gruß

EDIT:
VPN funktioniert mit DD-WRT, jetzt macht nur noch der Proxy Probleme. Hat jemand ne Ahnung wie ich nun noch den Proxy vor den VPN bekomme?

EDIT2:
Mit dem script beschäftige ich mich jetzt schon eine Woche und es will nicht laufen, ob mit VPN oder ohne.

Quote:
#!/bin/sh
PROXY_IP=192.168.0.252
PROXY_PORT=8080
LAN_IP=`nvram get lan_ipaddr`
LAN_NET=$LAN_IP/`nvram get lan_netmask`

iptables -t nat -A PREROUTING -i br0 -s $LAN_NET -d $LAN_NET -p tcp --dport 80 -j ACCEPT
iptables -t nat -A PREROUTING -i br0 -s ! $PROXY_IP -p tcp --dport 80 -j DNAT --to $PROXY_IP:$PROXY_PORT
iptables -t nat -I POSTROUTING -o br0 -s $LAN_NET -d $PROXY_IP -p tcp -j SNAT --to $LAN_IP
iptables -I FORWARD -i br0 -o br0 -s $LAN_NET -d $PROXY_IP -p tcp --dport $PROXY_PORT -j ACCEPT

Quelle: http://www.dd-wrt.com/wiki/index.php/Squid_Transparent_Proxy
Sponsor
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