It is also useful to try to isolate the problem, e.g. is the crypto support working independently of the networking code?
openvpn –genkey –secret key openvpn –test-crypto –secret key Other loopback tests are presented in the INSTALL file. Many connectivity problems start at the firewall. For example, if an OpenVPN daemon is tunneling data to and from a given TUN or TAP virtual adapter, a firewall rule must be present to permit incoming traffic on that TUN/TAP adapter. On a Linux iptables-based firewall you can enable incoming packets on a TUN device with this command: iptables -A INPUT -i tun+ -j ACCEPT or similarly you can enable incoming packets on a TAP device: iptables -A INPUT -i tap+ -j ACCEPT tcpdump or Wireshark are also very useful tools for troubleshooting connection problems. tcpdump can be used to show encrypted tunnel traffic transiting OpenVPN’s UDP port: tcpdump -i eth0 udp port 1194 The above example assumes that your connection to the internet is via eth0, and that you are using UDP port 1194 as the tunnel port (the default). tcpdump can also be used to show unencrypted traffic on Ope
Related Questions
- I received the following email from Regina on September 21, 2005. Regina writes: "Are decision markets a useful decision support tool?
- It is also useful to try to isolate the problem, e.g. is the crypto support working independently of the networking code?
- device or the Internet stopped working. What should I try before contacting support?