JW0914 wrote:Can you post the output of cat /etc/config/openvpn as managing the vpn from LuCI re-writes the config file and I'd like to compare your config from yesterday to the new config
config openvpn 'VPNserver'
option enabled '1'
option dev 'tun0'
option topology 'subnet'
option proto 'udp'
option port '1194'
option server '10.1.1.0 255.255.255.0'
option ifconfig '10.1.1.1 255.255.255.0'
list push 'route 192.168.1.0 255.255.255.0'
list push 'dhcp-option DNS 192.168.1.1'
list push 'dhcp-option WINS 192.168.1.1'
list push 'dhcp-option DNS 8.8.8.8'
list push 'dhcp-option DNS 8.8.4.4'
list push 'dhcp-option NTP 129.6.15.30'
list push 'sndbuf 393216'
list push 'rcvbuf 393216'
option cipher 'AES-256-CBC'
option dh '/etc/openvpn/keys/dh2048.pem'
option tls_auth '/etc/openvpn/keys/ta.key 0'
option log '/tmp/openvpn.log'
option status '/tmp/openvpn-status.log'
option verb '7'
option keepalive '10 120'
option comp_lzo 'yes'
option client_to_client '1'
option persist_key '1'
option persist_tun '1'
option sndbuf '393216'
option rcvbuf '393216'
option fragment '0'
option mssfix '0'
option tun_mtu '24000'
option user 'nobody'
option group 'nogroup'
option ca '/etc/openvpn/keys/ca.crt'
option cert '/etc/openvpn/keys/my-server.crt'
option key '/etc/openvpn/keys/my-server.key'
option tls_server '1'
After it worked, I changed to UDP...
As of now I can't access my NAS, though. Need to figure out why...
I have the following setup:
ISP router
192.168.2.1
WRT1900
192.168.2.101
DNS 192.168.2.1
=> Serving as 192.168.1.1 from 192.168.1.2 - 192.168.1.150
NAS
192.168.1.10, DNS: 192.168.1.1
Now I get as a OpenVPN client the IP address 10.1.1.2 and thus, I can't reach my NAS. This is probably only a small issue, but I can't figure out what I need to do.
Any hints?
Scratch that, it's working, sort of. One problem remains: I can't access my SMB shares (Total Commander, ES File Explorer). Through Webbrowser it works, though. What's wrong?
(Last edited by gaga on 10 Jul 2015, 17:55)