1.9 KiB
1.9 KiB
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:
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
-
Open Shadowrocket
-
Add Server:
- Tap "+" button
- Select HTTP
- Address:
158.101.140.85 - Port:
7890(or7892for Mixed) - Username:
proxy_user - Password:
Cs7yBx1Rh9oK - Remark:
server2-proxy - Tap Done
-
Enable Shadowrocket:
- Select your proxy server
- Toggle switch ON
- VPN icon should appear
-
Test:
- Open Safari
- Visit: https://api.ipify.org
- Should show:
158.101.140.85✅
Step 4: Test on Cellular
- Turn OFF Wi-Fi (use cellular only)
- Open Safari
- Visit: https://api.ipify.org
- 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