Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
blogpages:vpn_setup [2024/10/07 06:39] – old revision restored (2024/10/07 06:34) jcorona | blogpages:vpn_setup [2025/08/22 17:27] (current) – jcorona | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
====== OpenVPN Setup Guide ====== | ====== OpenVPN Setup Guide ====== | ||
Line 4: | Line 5: | ||
Problem is, I cant seem to get ta.key to generate but im not worried about it right now: | Problem is, I cant seem to get ta.key to generate but im not worried about it right now: | ||
+ | |||
+ | **Future Update**: Tailscale is here, use this instead, not worth the hassle of using anything else or setting up VPN. | ||
====== OpenVPN Setup on Windows ====== | ====== OpenVPN Setup on Windows ====== | ||
Line 142: | Line 145: | ||
* **Firewall**: | * **Firewall**: | ||
* **Dynamic DNS**: If your home network' | * **Dynamic DNS**: If your home network' | ||
- | |||
Line 157: | Line 159: | ||
===== Step-by-Step Troubleshooting ===== | ===== Step-by-Step Troubleshooting ===== | ||
- | **Step 1. Ensure IP Forwarding Is Enabled on the VPN Server** | + | **1. Ensure IP Forwarding Is Enabled on the VPN Server** |
The server must forward traffic between the VPN network and the internet. | The server must forward traffic between the VPN network and the internet. | ||
Line 186: | Line 188: | ||
* Ensure Internet Connection Sharing is enabled and the correct network (Wi-Fi or Ethernet) is selected for sharing. | * Ensure Internet Connection Sharing is enabled and the correct network (Wi-Fi or Ethernet) is selected for sharing. | ||
- | **Step 2. Set Up NAT (Network Address Translation) on the VPN Server** | + | **2. Set Up NAT (Network Address Translation) on the VPN Server** |
If NAT isn't properly set up, traffic won't be routed to the internet from the VPN clients. This is common in full tunneling setups. | If NAT isn't properly set up, traffic won't be routed to the internet from the VPN clients. This is common in full tunneling setups. | ||
Line 207: | Line 209: | ||
* Select **Allow other network users to connect through this computer' | * Select **Allow other network users to connect through this computer' | ||
- | **Step 3. Verify the DNS Configuration on the Client** | + | **3. Verify the DNS Configuration on the Client** |
Sometimes, even if traffic is being routed through the VPN, the DNS settings may not be configured properly, preventing domain names from being resolved (for example, if you can access websites by IP but not by domain name). | Sometimes, even if traffic is being routed through the VPN, the DNS settings may not be configured properly, preventing domain names from being resolved (for example, if you can access websites by IP but not by domain name). | ||
Line 226: | Line 228: | ||
* Reconnect the client and verify if the DNS issues are resolved. | * Reconnect the client and verify if the DNS issues are resolved. | ||
- | **Step 4. Test and Verify Routing** | + | **4. Test and Verify Routing** |
After implementing these fixes, reconnect to the VPN and test if the internet connection is working: | After implementing these fixes, reconnect to the VPN and test if the internet connection is working: | ||
Line 249: | Line 251: | ||
Ensure that the default gateway (`0.0.0.0`) is pointing to the VPN interface (`10.8.0.1` or similar). | Ensure that the default gateway (`0.0.0.0`) is pointing to the VPN interface (`10.8.0.1` or similar). | ||
- | **Step 5. Check Firewall Rules** | + | **5. Check Firewall Rules** |
If the above solutions don’t work, verify that firewalls on both the server and the client are not blocking the VPN traffic. | If the above solutions don’t work, verify that firewalls on both the server and the client are not blocking the VPN traffic. | ||
Line 269: | Line 271: | ||
| | ||
Let me know if you'd like more detailed help with any of the steps! | Let me know if you'd like more detailed help with any of the steps! | ||
- | |||