openvpn:routing_from_server_to_client
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
openvpn:routing_from_server_to_client [2021/01/04 22:23] – peter | openvpn: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: | + | |
* 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. | ||
- | | + | * If you don’t see the packets landing on the tun interface: |
+ | | ||
+ | * 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 **/ | ||
* 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 | ||
</ | </ | ||
+ | * If packets are being dropped, examine **/ | ||
</ | </ | ||
openvpn/routing_from_server_to_client.1609798994.txt.gz · Last modified: 2021/01/04 22:23 by peter