Hi,
I have set up OpenVPN via die GUI (Turris OS 3.6).
Worked fine. I can connect with my android phone to the vpn and I can access my NAS behind the router using the IP-address of the NAS.
But I can not access the NAS using the local domain name (e.g. nas.lan).
In this thread there was a solution to add two new settings to the openvpn config.
I added both, but still I can not access the NAS using nas.lan.
Any other ideas?
Here is my complete openvpn config file:
config openvpn 'server_turris'
option enabled '1'
option port '1194'
option proto 'udp'
option dev 'tun_turris'
option ca '/etc/ssl/ca/openvpn/ca.crt'
option crl_verify '/etc/ssl/ca/openvpn/ca.crl'
option cert '/etc/ssl/ca/openvpn/01.crt'
option key '/etc/ssl/ca/openvpn/01.key'
option dh '/etc/dhparam/dh-default.pem'
option server '10.111.111.0 255.255.255.0'
option ifconfig_pool_persist '/tmp/ipp.txt'
option duplicate_cn '0'
option keepalive '10 120'
option comp_lzo 'yes'
option persist_key '1'
option persist_tun '1'
option status '/tmp/openvpn-status.log'
option verb '3'
option mute '20'
list push 'route 192.168.1.0 255.255.255.0'
list push 'dhcp-option DNS 192.168.1.1'
list push 'dhcp-option DOMAIN lan'