Initial commit: combine nas_tool, nas_webdav, sync-utils

This commit is contained in:
Gan, Jimmy
2026-02-18 22:59:43 +08:00
commit 526c6a5521
77 changed files with 7898 additions and 0 deletions
+82
View File
@@ -0,0 +1,82 @@
# Test Proxy Connection
## ✅ Security List Rules Added!
Now let's test if it works.
## Step 1: Wait for Rules to Propagate
Wait 30-60 seconds for Oracle Cloud to apply the rules.
## Step 2: Test from Your Mac (Quick Test)
Run this command to test:
```bash
curl --proxy http://proxy_user:Cs7yBx1Rh9oK@158.101.140.85:7890 http://httpbin.org/ip
```
**Expected result:** Should show `{"origin":"158.101.140.85"}`
If it works, the firewall is open! ✅
## Step 3: Configure Shadowrocket on iPhone
1. **Open Shadowrocket**
2. **Add Server:**
- Tap **"+"** button
- Select **HTTP**
- **Address:** `158.101.140.85`
- **Port:** `7890` (or `7892` for Mixed)
- **Username:** `proxy_user`
- **Password:** `Cs7yBx1Rh9oK`
- **Remark:** `server2-proxy`
- Tap **Done**
3. **Enable Shadowrocket:**
- Select your proxy server
- Toggle switch **ON**
- VPN icon should appear
4. **Test:**
- Open Safari
- Visit: https://api.ipify.org
- Should show: `158.101.140.85`
## Step 4: Test on Cellular
1. Turn OFF Wi-Fi (use cellular only)
2. Open Safari
3. Visit: https://api.ipify.org
4. Should show server2's IP ✅
## Troubleshooting
**Still timing out?**
- Wait another 1-2 minutes (rules can take time to propagate)
- Check Security List rules are saved
- Verify ports: 7890, 7891, 7892, 9090
- Try different port: 7892 (Mixed port)
**Connection works but slow?**
- Normal - traffic goes: iPhone → Internet → server2 → Internet
- Depends on server2's connection speed
**Can't connect?**
- Check server2 is running: `ssh server2 'sudo systemctl status clash-meta'`
- Verify credentials are correct
- Check firewall: `ssh server2 'sudo ufw status | grep 7890'`
## Success Indicators
✅ Mac test shows server2's IP
✅ Shadowrocket connects without timeout
✅ Safari shows server2's IP when proxy is on
✅ Works on both Wi-Fi and cellular