"Christmas - the time to fix the computers of your loved ones" « Lord Wyrm

WRT54G + tomato + VPN: problem

Indigo 23.04.2008 - 10:33 1908 0
Posts

Indigo

raub_UrhG_vergewaltiger
Avatar
Registered: Mar 2001
Location: gigritzpotschn
Posts: 6687
ich betreibe einen WRT54G mit tomato 1.17 atm.

hinter dem router sitzt meine NAS server der unter anderem auch als VPN server arbeiten soll (winxp). intern funktioniert die VPN verbindung ans NAS einwandfrei (zu testzwecken), aber von extern bleibt mir winxp bei der authentifizierung stecken.

port 1723 ist weitergeleitet, und weil tomato anscheinend defaultmäßig kein VPN passthrough (GRE, 47) unterstützt kommt eine kleines firewall script zum einsatz das das enablen soll

Code:
iptables -t nat -I PREROUTING -p 47 -j DNAT --to 10.0.0.10
iptables -I FORWARD -p 47 -d 10.0.0.10 -j ACCEPT

10.0.0.10 ist das NAS

das script ist nicht von mir, in iptables bin ich auch nicht sattelfest - was kann mein problem sein?
Kontakt | Unser Forum | Über overclockers.at | Impressum | Datenschutz