openvpn:routing_from_server_to_client

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
openvpn:routing_from_server_to_client [2021/01/04 22:23] peteropenvpn:routing_from_server_to_client [2021/01/04 22:26] (current) peter
Line 90: Line 90:
  
 <WRAP info> <WRAP info>
-**NOTE:**   +**NOTE:**  If the ping works:
- +
-If the ping works:+
  
   * This tells you that packets are hitting your server (which could be the router), being redirected into OpenVPN.   * This tells you that packets are hitting your server (which could be the router), being redirected into OpenVPN.
   * OpenVPN is passing them down the tunnel and they’re breaking out at the tun interface on your client.   * OpenVPN is passing them down the tunnel and they’re breaking out at the tun interface on your client.
-  * Check your firewall log on the client and make sure your firewall rules are fine.+    * If you don’t see the packets landing on the tun interface: 
 +      * Check your firewall log on the client and make sure your firewall rules are fine
 +      * Check the logs on your server (router).
  
 If the ping fails: If the ping fails:
  
   * Check that the traffic is actually getting routed.   * Check that the traffic is actually getting routed.
-  * If you don’t see the packets landing on the tun interface, check the logs on your server (router). 
-  * If packets are being dropped, examine **/tmp/openvpn.status** and make sure that the route is listed in the OpenVPN routing table. 
   * Examine the routing table on the server (which could be the router) and see if the route is listed.   * Examine the routing table on the server (which could be the router) and see if the route is listed.
     * Assuming it is, on your client end, run the following: <code bash>     * Assuming it is, on your client end, run the following: <code bash>
 tcpdump -i tun0 tcpdump -i tun0
 </code> </code>
 +  * If packets are being dropped, examine **/tmp/openvpn.status** and make sure that the route is listed in the OpenVPN routing table.
  
 </WRAP> </WRAP>
  
  
openvpn/routing_from_server_to_client.1609798994.txt.gz · Last modified: 2021/01/04 22:23 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki