Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tutorials:ports_forwarding [2025/09/28 17:31] – ravage | tutorials:ports_forwarding [2025/09/28 18:50] (current) – ravage | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | # 🎮 NFS Underground Port Forwarding Guide | + | ===== NFS Underground Port Forwarding - Easy Guide ===== |
| + | # 🎮 NFS Underground Port Forwarding | ||
| + | |||
| + | ⏱️ **How long does it take? | ||
| + | - If you know a bit about PCs: about 20-30 minutes | ||
| + | - If you are a complete beginner: about 45-90 minutes | ||
| + | |||
| + | 💡 Don’t worry: It looks harder than it is. \\ | ||
| + | Just follow the steps one by one. Even if you are new, you can do it. | ||
| ⚠️ Important: Every router looks a bit different! | ⚠️ Important: Every router looks a bit different! | ||
| Line 13: | Line 21: | ||
| ## 💻 Step 2 - Give Your PC a Fixed IP (Safe Method) \\ | ## 💻 Step 2 - Give Your PC a Fixed IP (Safe Method) \\ | ||
| - | Your router must always know your PC’s " | ||
| - | ### Easy Rule for Beginners \\ | + | Your PC needs a "fixed address" |
| - | Use an IP that is **not used by other devices**. \\ | + | |
| - | A safe choice is: | + | |
| - | - **192.168.1.200** | + | |
| - | (Almost no router will give this number automatically. So it is free and safe.) | + | ### Step 2a - Find your network information \\ |
| + | 1. On Windows: press **Windows key + R**, type cmd and press Enter or (Linux) open Terminal \\ | ||
| + | 2. Type ipconfig (Windows) or ip a (Linux) | ||
| + | 3. Look for your network adapter (usually " | ||
| + | 4. Note: \\ | ||
| + | - **IPv4 Address:** something like 192.168.178.15 | ||
| + | - **Default Gateway:** something like 192.168.178.1 | ||
| - | ### On Windows \\ | + | This tells you the **network range** (first three numbers) and your router’s IP. |
| - | 1. Open Control Panel \\ | + | |
| + | --- | ||
| + | |||
| + | ### Step 2b - Pick a safe IP for your PC \\ | ||
| + | - Pick a number at the end of your IP that is **higher than normal** to avoid conflicts. | ||
| + | - Example: if your IP is 192.168.178.15, | ||
| + | - This will be your PC’s fixed IP. | ||
| + | |||
| + | 💡 Tip: Always keep the first three numbers the same as your current IP. Only change the last number. | ||
| + | |||
| + | --- | ||
| + | |||
| + | ### Step 2c - Set the IP on Windows \\ | ||
| + | 1. Open **Control Panel** \\ | ||
| 2. Go to: Network and Internet → Network and Sharing Center → Change adapter settings | 2. Go to: Network and Internet → Network and Sharing Center → Change adapter settings | ||
| 3. Right-click your connection → Properties → Internet Protocol v4 → Properties | 3. Right-click your connection → Properties → Internet Protocol v4 → Properties | ||
| 4. Select "Use the following IP" and type: \\ | 4. Select "Use the following IP" and type: \\ | ||
| - | - IP: 192.168.1.200 \\ | + | - IP: your chosen IP, e.g., 192.168.178.200 \\ |
| - Subnet mask: 255.255.255.0 | - Subnet mask: 255.255.255.0 | ||
| - | | + | |
| - | 💡 If your router has **DHCP Reservation**, use it instead. It is easier and gives your PC a fixed IP automatically. | + | 💡 Optional: Some routers allow **DHCP Reservation**. |
| --- | --- | ||
| - | ## 🌐 Step 3 – Login to Your Router \\ | + | ## 🌐 Step 3 - Login to Your Router \\ |
| - | 1. Open your browser | + | 1. Open your web browser |
| - | 2. Type: 192.168.1.1 or 192.168.0.1 | + | 2. Type your **default gateway** IP (from Step 2a) into the address bar and press Enter \\ |
| - | 3. Login with username + password (often on the router sticker) | + | 3. Login with username + password (usually |
| --- | --- | ||
| ## 🚪 Step 4 - Add Port Forwarding \\ | ## 🚪 Step 4 - Add Port Forwarding \\ | ||
| - | 1. In your router menu, look for: **Port Forwarding**, | + | 1. Look for **Port Forwarding**, |
| 2. Create a new rule: \\ | 2. Create a new rule: \\ | ||
| - Name: NFS Underground | - Name: NFS Underground | ||
| - Protocol: **UDP** | - Protocol: **UDP** | ||
| - Ports: Start 3658, End 3659 \\ | - Ports: Start 3658, End 3659 \\ | ||
| - | - Internal IP: 192.168.1.200 (your PC IP) \\ | + | - Internal IP: your fixed PC IP (from Step 2b) \\ |
| 3. Save and apply | 3. Save and apply | ||
| Line 55: | Line 78: | ||
| ## 🔥 Step 5 - Firewall Check \\ | ## 🔥 Step 5 - Firewall Check \\ | ||
| - **Windows: | - **Windows: | ||
| - | - **Linux:** Use your firewall tool to allow the same ports | + | - **Linux:** Use your firewall tool to allow the same ports |
| - | + | 💡 If nothing works, | |
| - | 💡 If nothing works, | + | {{: |
| + | Then add the firewall rules with kickStart again (in options): \\ | ||
| + | {{: | ||
| --- | --- | ||
| - | ## ✅ Step 6 – Test Your Game \\ | + | ## ✅ Step 6 - Test Your Game \\ |
| 1. Start NFS Underground → Create a multiplayer game \\ | 1. Start NFS Underground → Create a multiplayer game \\ | ||
| - | 2. Ask a friend to join | + | 2. Ask a friend to join |
| - | 3. Or Open the NFS.onl launcher and go to Open settings | + | 3. Or open the NFS.onl launcher and go to Open options |
| When the new window opens, click on “Test UDP” to check if your port forwarding is set up correctly. | When the new window opens, click on “Test UDP” to check if your port forwarding is set up correctly. | ||
| Line 70: | Line 95: | ||
| ## 🚫 If It Still Doesn’t Work \\ | ## 🚫 If It Still Doesn’t Work \\ | ||
| - | - Check your PC IP matches the rule in your router | + | - Make sure your PC IP matches the rule in the router |
| - | - Double-check | + | - Make sure ports 3658-3659 UDP are forwarded |
| - | - Check your firewall again \\ | + | - Check firewall again \\ |
| - | - If your ISP uses **CGNAT**, normal port forwarding will never work. Then you need a VPS server [[https://youtu.be/BJJQ4vUWtjc|see Redhair's YouTube guide]] | + | - If your ISP uses **CGNAT**, normal port forwarding will not work. Then you need a VPS server [[http://wiki.nfs.onl/doku.php? |
| --- | --- | ||
| ## 📋 Extra Tips \\ | ## 📋 Extra Tips \\ | ||
| - | - Always keep your PC on the same IP (`192.168.1.200`) | + | - Always keep your PC on the same IP |
| - Only open the ports you need \\ | - Only open the ports you need \\ | ||
| - Test with 1 friend first before a big game \\ | - Test with 1 friend first before a big game \\ | ||
| Line 89: | Line 114: | ||
| - **Port** = A " | - **Port** = A " | ||
| - **UDP** = A fast type of connection for games. | - **UDP** = A fast type of connection for games. | ||
| - | - **IP Address** = Your PC’s "house number" | + | - **IP Address** = Your PC’s "house number" |
| - **Gateway** = The "main door" to your router. | - **Gateway** = The "main door" to your router. | ||
| - **Router Login** = The page where you change your router settings. | - **Router Login** = The page where you change your router settings. | ||
| Line 96: | Line 121: | ||
| - **DHCP Reservation** = A router option that gives your PC the same IP automatically. | - **DHCP Reservation** = A router option that gives your PC the same IP automatically. | ||
| - **CGNAT** = Your internet provider puts many people behind one big router. Then port forwarding will not work. \\ | - **CGNAT** = Your internet provider puts many people behind one big router. Then port forwarding will not work. \\ | ||
| - | - **VPS** = A rented server on the internet that can act as your host. | + | - **VPS** = A rented server on the internet that can act as your host. |
| --- | --- | ||
| Line 102: | Line 127: | ||
| # ❓ Extra Explanations | # ❓ Extra Explanations | ||
| - | - **Why use 192.168.1.200? | + | - **Why pick a high number at the end?** |
| - | | + | |
| - | If you choose 192.168.1.200, it is outside this range. That means the router will not give it to a phone, laptop, or smart TV by accident. No conflicts = safe. | + | |
| - | - **What if my router | + | - **What if my network |
| - | | + | |
| - | The rule is the same: pick a number | + | |
| - **What happens if two devices have the same IP? | - **What happens if two devices have the same IP? | ||
| - | Both will lose internet or get strange problems. That is why we use a number (200) that is not handed out automatically by the router. | + | Both devices |
| - | + | ||
| - | - **Why only UDP and not TCP? | + | |
| - | NFS Underground only needs UDP for online play. TCP is not used in this case. That is why we keep it simple and only open UDP. | + | |
| + | - **Why only UDP? | ||
| + | NFS Underground only needs UDP for online play. TCP is not used. | ||