- OpenVPN - MyFritz Freigabe Beitrag #1
tomas
Hallo.
Ich habe auf meiner Synology nun mal den OpenVPN Server eingerichtet und mir "Tunnelblick" für OS X geholt. Das importieren der Einstellungen klappte soweit auch. Nun muss ich aber in der Konfigurationsdatei neben der URL zum Server auch noch den Port festlegen.
Ich habe nun in der FritzBox eine MyFritz-Freigabe auf
https://sub.meineDomain.de angelegt und eben Port 1194 dafür festgelegt.
Unter "IPv6-Freigaben" habe zusätzlich noch eingestellt, dass das der UDP Port sein soll.
Dabei ist zu erwähnen das von der Adresse sub.meineDomain.de ein CNAME auf die MyFritz-Adresse geht.
Wenn ich nun versuche die VPN Verbindung zu öffnen, steht in den Logs immer
"RESOLVE: Cannot resolve host address: https://sub.meineDomain.de: [HOST_NOT_FOUND] The specified host is unknown"
Habe in der Konfigurationsdatei auch mal das "https://" weggelassen - leider ohne Erfolg.
Habe ich etwas falsche gemacht? Und wenn ja, was?
Oder ist es überhaupt nicht möglich?!
Hier mal zur Info meine openVPN Konfigurationsdatei:
Ich habe auf meiner Synology nun mal den OpenVPN Server eingerichtet und mir "Tunnelblick" für OS X geholt. Das importieren der Einstellungen klappte soweit auch. Nun muss ich aber in der Konfigurationsdatei neben der URL zum Server auch noch den Port festlegen.
Ich habe nun in der FritzBox eine MyFritz-Freigabe auf
https://sub.meineDomain.de angelegt und eben Port 1194 dafür festgelegt.
Unter "IPv6-Freigaben" habe zusätzlich noch eingestellt, dass das der UDP Port sein soll.
Dabei ist zu erwähnen das von der Adresse sub.meineDomain.de ein CNAME auf die MyFritz-Adresse geht.
Wenn ich nun versuche die VPN Verbindung zu öffnen, steht in den Logs immer
"RESOLVE: Cannot resolve host address: https://sub.meineDomain.de: [HOST_NOT_FOUND] The specified host is unknown"
Habe in der Konfigurationsdatei auch mal das "https://" weggelassen - leider ohne Erfolg.
Habe ich etwas falsche gemacht? Und wenn ja, was?
Oder ist es überhaupt nicht möglich?!
Hier mal zur Info meine openVPN Konfigurationsdatei:
Code:
<i>
</i>dev tun
tls-client
remote https://sub.meineDomain.de 1194
# The "float" tells OpenVPN to accept authenticated packets from any address,
# not only the address which was specified in the --remote option.
# This is useful when you are connecting to a peer which holds a dynamic address
# such as a dial-in user or DHCP client.
# (Please refer to the manual of OpenVPN for more information.)
#float
# If redirect-gateway is enabled, the client will redirect it's
# default network gateway through the VPN.
# It means the VPN connection will firstly connect to the VPN Server
# and then to the internet.
# (Please refer to the manual of OpenVPN for more information.)
#redirect-gateway
# dhcp-option DNS: To set primary domain name server address.
# Repeat this option to set secondary DNS server addresses.
#dhcp-option DNS DNS_IP_ADDRESS
pull
proto udp
script-security 2
ca ca.crt
comp-lzo
reneg-sec 0
auth-user-pass