Skip to content

Commit 74ba753

Browse files
committed
Created a debug section in readme
1 parent cd8fd6a commit 74ba753

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,21 @@ a corresponding [Digital Ocean Community Tutorial](http://bit.ly/1AGUZkq).
4949

5050
docker run --volumes-from $OVPN_DATA --rm kylemanna/openvpn ovpn_getclient CLIENTNAME > CLIENTNAME.ovpn
5151

52+
## Debugging Tips
53+
5254
* Create an environment variable with the name DEBUG and value of 1 to enable debug output (using "docker -e").
5355

54-
docker run --volumes-from $OVPN_DATA -d -p 1194:1194/udp --privileged -e DEBUG=1 kylemanna/openvpn
56+
docker run --volumes-from $OVPN_DATA -p 1194:1194/udp --privileged -e DEBUG=1 kylemanna/openvpn
57+
58+
* Test using a client that has openvpn installed correctly
59+
60+
$ openvpn --config CLIENTNAME.ovpn
61+
62+
* Run through a barrage of debugging checks on the client if things don't just work
63+
64+
$ ping 8.8.8.8 # checks connectivity without touching name resolution
65+
$ dig google.com # won't use the search directives in resolv.conf
66+
$ nslookup google.com # will use search
5567

5668
## How Does It Work?
5769

0 commit comments

Comments
 (0)