- Mitglied seit
- 28. Feb 2014
- Beiträge
- 20
- Punkte für Reaktionen
- 0
- Punkte
- 0
Hallo an alle,
ich besitze eine DS713+ und betreibe der VPN Server. In diesem benutze ich openvpn. Es funktioniert alles soweit wunderbar. Mac,Ipad und Iphone können sich verbinden, der gesamte Traffic wird über den VPN geschickt. Jetzt habe ich nur noch ein kleines Problem. Wie bekomme ich es hin, dass die openvpn Verbindung die DNS Server der DS713+ benutzt
Hier meine Configdatei für den Client:
dev tun
tls-client
remote xxxxxxxxxxxxxxx 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
Danke für die Hilfe
Beste Grüße
ich besitze eine DS713+ und betreibe der VPN Server. In diesem benutze ich openvpn. Es funktioniert alles soweit wunderbar. Mac,Ipad und Iphone können sich verbinden, der gesamte Traffic wird über den VPN geschickt. Jetzt habe ich nur noch ein kleines Problem. Wie bekomme ich es hin, dass die openvpn Verbindung die DNS Server der DS713+ benutzt
Hier meine Configdatei für den Client:
dev tun
tls-client
remote xxxxxxxxxxxxxxx 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
Danke für die Hilfe
Beste Grüße