Hallo,
nach nun schon tagelangem Probierens und Googlens gebe ich auf und brauche Hilfe.
Meine Konfiguration:
Standort 1 (SERVER): Windows Server 2008 R2
IP-Adresse: 141.XX.XX.11
Gateway: 141.XX.XX.1
Standort 2 (CLIENT): Windows Server 2003
IP-Adresse: 85.XX.XX.242
Gateway: 85.XX.XX.254
Das Problem:
Die Verbindung zwischen Server und Client wird hergestellt. Vom Client aus kann ich den Server mit PING 10.8.0.1 erreichen. Vom Server aus ebenso den Client mit PING 10.8.0.2. Auch Dienste wie SMTP funktionieren über die VPN-Verbindung.
The connection between server and client is established. From the client I can ping the server with PING 10.8.0.1. From the server as the client with PING 10.8.0.2. Services such as SMTP work over the VPN connection.
Die DNS-Namenauflösung am Client funktioniert.
Aber externe Server im Internet z.B. 8.8.8.8 lassen sich NICHT pingen! Das Client-OpenVPN-Log zeigt an, dass bei PING 8.8.8.8 tatsächlich je Ping ein Datenpaket an der Server geschickt wird und das Server-Log zeigt den Empfang der Ping-Pakete an. Auch Tracert zeigt an, dass die Datenpaket über die VPN-Verbindung laufen.
The DNS name resolution on the client works. But external server on the Internet, for example, 8.8.8.8 CAN NOT be ping The client OpenVPN log shows that at PING 8.8.8.8 actually ever ping is sent to a data packet to the server and the server log shows the reception of ping packets to . Also Tracert indicates that the packet pass through the VPN connection
Ich habe den Eindruck, dass der
Server die Daten nicht ins Internet weiterleitet oder die Rückleitung der Antwortpakete zum Client nicht funktionier. Beim Server (Windows) habe ich mit REGEDIT "IPEnableRouter" auf "1" geändert! Ich habe viel in Google gesucht, aber keine Lösung gefunden. Unter Linux muss beim Server wohl der Befehl iptables ausgeführt werden. Ich verwende aber Windows.
I have the impression that the Server does not forward the data to the internet or the return line of the reply packets to the client not funktionier. The server (Windows) I have changed with REGEDIT "IPEnableRouter" to "1"! I have searched a lot on Google, but found no solution. On Linux, the server probably the iptables command are executed. But I'm using Windows
[Translation by Google]
Konfigurationsdatei SERVER:
local 141.XX.XX.11
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
tls-server
key-method 2
dh dh1024.pem
server 10.8.0.0 255.255.255.0
client-config-dir ccd
push "redirect-gateway def1 bypass-dhcp bypass-dns"
push "dhcp-option DNS 8.8.8.8"
push "route 10.8.0.0 255.255.255.0"
keepalive 20 120
comp-lzo
persist-key
persist-tun
verb 3
Konfigurationdatei CLIENT:
tls-client
dev tun
proto udp
remote 141.XX.XX.11 1194
resolv-retry infinite
keepalive 20 60
nobind
persist-key
persist-tun
comp-lzo
ca ca.crt
cert client.crt
key client.key
verb 3
tun-mtu 1500
pull
Client-CCD-Datei:
ifconfig-push 10.8.0.2 10.8.0.1
Ich brauche dringend Hilfe! Kann mir jemand helfen? Ich mach das zum ersten Mal...
Danke!