Hello all,
as its running late and im stuck here with a bunch of questions, i hope someone can help me find my mistake.
Im new to this topic and i will try to explain the error:
If setup a OpenVPN Server on my rasp. PI. Now, when i connect to it from a distance Spot, using the Windows Client, i can connect to the VPN and get an IP address.
So, now comes the tricky part:
1) When opening the shared folders, i cannot do so using //PI-Home/multimedia. However, 192.168.1.107/multimedia does work. the Ip adress is the homenetwork where the pi is located.
2) i cannot open any website, as i get the error : Name not resolved.
If i can provide any further configuration oder logfiles, please tell me how and i will do so.
I did #net.ipv4.ip_forward=1.
Config of the client:
dev tun
client
proto udp
remote XXX.ddns.net 1194
ca ca.crt
cert client1.crt
key client1.key
resolv-retry infinite
route-method exe
route-delay 30
route-metric 512
route 0.0.0.0 0.0.0.0
nobind
persist-key
persist-tun
comp-lzo
verb 3
Config of the server:
dev tun
proto udp
port 1194
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/MyVPN.crt
key /etc/openvpn/easy-rsa/keys/MyVPN.key
dh /etc/openvpn/easy-rsa/keys/dh1024.pem
user nobody
group nogroup
server 10.8.0.0 255.255.255.0
persist-key
persist-tun
status /var/log/openvpn-status.log
verb 3
client-to-client
push "redirect-gateway def1"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
log-append /var/log/openvpn
comp-lzo
Thank you for your help! 🙂