I'm trying to do a really basic point-to-point VPN to a router running DD-WRT.
This is the server config:
dev tun0
ifconfig 10.8.0.1 10.8.0.2
secret /tmp/static.key
daemon
I have these iptables rules in place as well:
iptables -I INPUT 2 -p udp --dport 1194 -j ACCEPT
iptables -I FORWARD -i br0 -o tun0 -j ACCEPT
iptables -I FORWARD -i tun0 -o br0 -j ACCEPT
I'm not sure how to connect to this on the client end. I've tried multiple methods on my Debian Jessie/Sid desktop.
I've tried using the network manager to connect although I'm not sure what I should be putting for remote and local IP. These fields don't seem to follow any OpenVPN config conventions I've found anywhere else. The server IP goes in the gateway field.
To test I set up a basic config file from the static key guide in the official documentation. The config looks like this:
remote example.com
dev tun0
ifconfig 10.8.0.2 10.8.0.1
secret static.key
It doesn't report any problems:
# /usr/sbin/openvpn --config openvpn.conf
Tue Dec 24 17:26:08 2013 OpenVPN 2.3.2 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [eurephia] [MH] [IPv6] built on Nov 28 2013
Tue Dec 24 17:26:08 2013 WARNING: file 'static.key' is group or others accessible
Tue Dec 24 17:26:08 2013 TUN/TAP device tun0 opened
Tue Dec 24 17:26:08 2013 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Tue Dec 24 17:26:08 2013 /sbin/ip link set dev tun0 up mtu 1500
Tue Dec 24 17:26:08 2013 /sbin/ip addr add dev tun0 local 10.8.0.2 peer 10.8.0.1
Tue Dec 24 17:26:08 2013 UDPv4 link local (bound): [undef]
Tue Dec 24 17:26:08 2013 UDPv4 link remote: [AF_INET]50.132.29.115:1194
Tue Dec 24 17:26:18 2013 Peer Connection Initiated with [AF_INET]example.com:1194
Tue Dec 24 17:26:19 2013 Initialization Sequence Completed
...however I can't ping 10.8.0.1 as the docs indicate I should be able to. Since the server is running on a router I can do very minimal troubleshooting from that end, but it does appear to be running and accepting VPN connections.
I've completely disabled the firewall on the client side.
What should I do to troubleshoot this further?