all my tries to get connected to my VPN at home are failing. I imported the *.ovpn file. All referenced files are in the same directory as the *.ovpn file. Then I try to connect. OpenVPN Connect replies all the time: "Waiting for server".
I checked my portforwarding on my router and it looks correct. It points to port 1194 (UDP) on my R-Pi (internal hostname: "openvpn").
This is how my openvpn.conf in /etc/openvpn does look like:
Code: Select all
dev tun
proto udp
port 1194
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/server.crt
key /etc/openvpn/easy-rsa/keys/server.key
dh /etc/openvpn/easy-rsa/keys/dh2048.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 bypass-dhcp"
#set the dns servers
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
log-append /var/log/openvpn
comp-lzo
duplicate-cn
keepalive 10 120
Code: Select all
dev tun
client
proto udp
remote myhost.ddns.net 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client1.crt
key client1.key
comp-lzo
verb 3
As I am not using "Wheezy" on the R-Pi I adapted the code from step 3 of mentioned manual into this:
Code: Select all
sudo cp -r /usr/share/easy-rsa /etc/openvpn/easy-rsa
Any idea how I can get this solved? What information do you miss to be able to assist me on this?
Kind regards
//neph