Hallo zusammen,
ich wende mich an das Forum da ich bisher über Google und Reddit keine Lösung gefunden habe.
Problembeschreibung
Ich habe auf meinem NAS OpenVPN eingerichtet. Wenn ich unterwegs vom Handy (iPhone) aus auf mein VPN aktiviere komme ich sowohl direkt auf den NAS als auch bspw. über die Drive App an meine Dokumente. Sobald ich mich jedoch in ein WLAN einwähle, funktioniert die VPN Verbindung nicht mehr. Er scheitert bereits in der OpenVPN App mit der Verbindung. Der Fernzugriff via Laptop funktioniert ebenfalls nicht über WLAN. Der Versuch sowohl Handy als auch Laptop mal über einen Mobilfunk-WLAN-Hotspot eines anderen Handys einzuwählen, schlug ebenfalls fehl.
Mein Setup
Konfigurationsdatei (Split Tunnel)
dev tun
tls-client
remote xxx.synology.me 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 def1
redirect-gateway ipv6
# 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
# If you want to connect by Server's IPv6 address, you should use
# "proto udp6" in UDP mode or "proto tcp6-client" in TCP mode
proto udp
script-security 2
comp-lzo
reneg-sec 0
cipher AES-256-CBC
auth SHA512
auth-user-pass
client-cert-not-required
<ca>
-----BEGIN CERTIFICATE-----
ZENSIERT
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
ZENSIERT
-----END CERTIFICATE-----
</ca>
Ich hoffe hier kann mir jemand weiterhelfen!
Beste Grüße
Martin
ich wende mich an das Forum da ich bisher über Google und Reddit keine Lösung gefunden habe.
Problembeschreibung
Ich habe auf meinem NAS OpenVPN eingerichtet. Wenn ich unterwegs vom Handy (iPhone) aus auf mein VPN aktiviere komme ich sowohl direkt auf den NAS als auch bspw. über die Drive App an meine Dokumente. Sobald ich mich jedoch in ein WLAN einwähle, funktioniert die VPN Verbindung nicht mehr. Er scheitert bereits in der OpenVPN App mit der Verbindung. Der Fernzugriff via Laptop funktioniert ebenfalls nicht über WLAN. Der Versuch sowohl Handy als auch Laptop mal über einen Mobilfunk-WLAN-Hotspot eines anderen Handys einzuwählen, schlug ebenfalls fehl.
Mein Setup
- Synology DS920+
- VPN Server installiert und OpenVPN konfiguriert
- Identifikation der IP erfolgt über DDNS xxx.synology.me
- Firewall lässt unter anderem OpenVPN und Drive durch
- Portfreigabe am Router eingerichtet
- Gefolgt bin ich beim Einrichten grundsätzlich dieser Anleitung
Konfigurationsdatei (Split Tunnel)
dev tun
tls-client
remote xxx.synology.me 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 def1
redirect-gateway ipv6
# 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
# If you want to connect by Server's IPv6 address, you should use
# "proto udp6" in UDP mode or "proto tcp6-client" in TCP mode
proto udp
script-security 2
comp-lzo
reneg-sec 0
cipher AES-256-CBC
auth SHA512
auth-user-pass
client-cert-not-required
<ca>
-----BEGIN CERTIFICATE-----
ZENSIERT
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
ZENSIERT
-----END CERTIFICATE-----
</ca>
Ich hoffe hier kann mir jemand weiterhelfen!
Beste Grüße
Martin