Advertisement
Guest User

Untitled

a guest
Sep 26th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. ## Tips to debug VPN issues
  2.  
  3. Assuming 10.81.1.159 is the services overlay IP we're trying to reach.
  4.  
  5. Check where the VPN is running:
  6. ```
  7. kontena service show vpn
  8. ```
  9.  
  10. Take ssh to the node where VPN is running. On that host:
  11. ```
  12. $ docker run -ti --rm --net container:vpn-1 corfr/tcpdump -vvv -i any dst 10.81.1.159
  13. ```
  14.  
  15. Now from the client (which is connected through vpn)
  16. ```
  17. ping 10.81.1.159
  18. ```
  19.  
  20. ## Other sources for possible info
  21.  
  22. VPN logs:
  23. ```
  24. kontena service logs vpn
  25. ```
  26.  
  27. Weave logs:
  28. ```
  29. kontena grid logs -c weave
  30. ```
  31.  
  32. ## Tracing the weave interface on host
  33. Requires tcpdump on the host. Let run while pinging from client
  34. ```
  35. tcpdump -vvv -i weave dst 10.81.1.159
  36. ```
  37. ## On the client side
  38.  
  39. ```
  40. $ traceroute -F 10.81.1.159 1500
  41. ```
  42.  
  43. The above should report possible MTU issues within the path
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement