GeoIP Routing Explained: Smart Traffic Management
GeoIP routing is a powerful feature that lets you send specific regional traffic directly to the internet while keeping everything else protected through your VPN. This guide explains how GeoIP routing works and how to use it effectively.
TL;DR (Quick Summary)
- GeoIP routing sends selected regional IP traffic directly (bypasses VPN)
- Improves compatibility with local services (banking, streaming, apps)
- Rest of your traffic remains protected through VPN
- Available regions: CN, US, JP, KR, RU, IR, ID, AE
- Configured in FreeGuard PC → Settings → GeoIP Region
What Is GeoIP Routing?
GeoIP routing is a form of split tunneling based on geographic IP addresses. It allows you to:
- Route traffic destined for specific countries directly (DIRECT)
- Route everything else through the VPN tunnel
Visual Explanation
Without GeoIP Routing:
ALL Traffic → VPN Tunnel → Internet
With GeoIP Routing (e.g., CN region):
├── Traffic to China IPs → DIRECT → China Services
└── All Other Traffic → VPN Tunnel → Internet
Why It Matters
When you’re in a country and use VPN, local services may not work properly:
| Problem | Cause | GeoIP Solution |
|---|---|---|
| Bank website blocks access | Detects foreign IP | Route bank traffic direct |
| Local streaming won’t play | Region mismatch | Route local service direct |
| Government portal issues | VPN IP flagged | Route government IPs direct |
| Local apps malfunction | Geolocation check fails | Route local traffic direct |
How GeoIP Routing Works
The Technical Process
- IP Database: FreeGuard maintains updated databases of IP ranges by country
- Rule Injection: When you select a region, FreeGuard adds routing rules
- Traffic Matching: Each connection is checked against the rules
- Routing Decision: Matching traffic goes DIRECT; everything else goes through VPN
Rule Provider Updates
FreeGuard uses Loyalsoldier’s GeoIP data, updated daily:
Schedule: Daily automatic update
Source: MaxMind GeoLite2 + corrections
Accuracy: High (95%+ for major services)
Format: MRS (Mihomo Rule Set)
What Gets Routed Direct
When you enable GeoIP routing for a region:
- IP addresses registered to that country
- CDN endpoints serving that region
- Local service infrastructure
What stays on VPN:
- All international traffic
- Unknown/unclassified IPs
- Your DNS queries (by default)
Supported Regions
| Region Code | Country | Common Use Case |
|---|---|---|
| CN | China | Chinese banking, local apps, government services |
| US | United States | US banking while abroad, local services |
| JP | Japan | Japanese services, local streaming |
| KR | South Korea | Korean banking, local apps |
| RU | Russia | Russian services, local compatibility |
| IR | Iran | Local services access |
| ID | Indonesia | Indonesian services, banking |
| AE | UAE | Local banking, government services |
Setup Guide
Step 1: Open Settings
- Launch FreeGuard VPN on your PC
- Click the Settings gear icon
Step 2: Find GeoIP Region
- Scroll to find GeoIP Region
- Click the dropdown menu
Step 3: Select Your Region
- Choose the appropriate region (e.g., CN, US, JP)
- Or select Off to disable
Step 4: Save and Reconnect
- Click Save
- Reconnect to VPN if already connected
- Changes take effect immediately
Use Cases and Scenarios
Scenario 1: Living Abroad, Need Local Banking
Situation: You’re a US citizen living in Europe, need US bank access
Problem: US banks may block or flag foreign IP logins
Solution:
- Connect to FreeGuard
- Enable GeoIP: US
- US banking traffic goes direct (your real IP)
- Everything else protected by VPN
Result: Bank sees your real location, no security flags
Scenario 2: In China, Need Local Services + International Access
Situation: Traveling in China, need both Chinese and international services
Problem: VPN blocks Chinese services; no VPN blocks international
Solution:
- Connect to FreeGuard
- Enable GeoIP: CN
- Chinese services work normally (direct)
- International services through VPN
Result: Best of both worlds
Scenario 3: Gaming with Regional Content
Situation: Playing games with region-specific content
Problem: Game detects VPN, locks certain features
Solution:
- Enable appropriate GeoIP region
- Game traffic goes direct
- Other browsing protected
Scenario 4: Work VPN + Personal Privacy
Situation: Need to access work resources and personal browsing
Problem: Work requires local IP; personal browsing needs privacy
Solution:
- Connect to FreeGuard
- Enable GeoIP for your work region
- Work apps see your real IP
- Personal browsing through VPN
GeoIP vs Full Split Tunneling
| Feature | GeoIP Routing | App-Based Split Tunneling |
|---|---|---|
| Based on | IP geography | Application |
| Granularity | Country-level | Per-app |
| Setup | Simple (one dropdown) | Complex (per-app rules) |
| Use case | Regional services | Specific applications |
| FreeGuard support | ✅ Built-in | Future feature |
GeoIP routing is simpler but less granular. It routes based on where traffic goes, not which app sends it.
Combining GeoIP with Protocol Selection
GeoIP routing works with all three protocols:
| Protocol | GeoIP Compatibility | Notes |
|---|---|---|
| AnyTLS | ✅ Excellent | Recommended for most cases |
| Hysteria2 | ✅ Good | May have slight overhead |
| Trojan | ✅ Good | Works well in restricted networks |
Recommended combination:
- AnyTLS + GeoIP for daily use with local services
- Trojan + GeoIP in restricted regions
Troubleshooting
Local Service Still Not Working
Problem: Enabled GeoIP but local service still fails
Possible causes:
- Service uses CDN with different IPs
- Service checks more than just IP
- DNS resolution issue
Solutions:
- Clear browser cache/cookies
- Try a different browser
- Check if service requires login from same region consistently
- Contact service support if persistent
Some Sites Within Region Still Going Through VPN
Problem: Not all traffic for the region goes direct
Why: GeoIP databases aren’t 100% complete. Some IPs may be:
- Recently allocated
- Using third-party CDNs
- Miscategorized
Workaround: This is expected behavior. Critical services should work; edge cases may vary.
Can’t Tell If GeoIP Is Working
Test method:
- With GeoIP enabled, visit a regional service
- Check if it works normally
- Then visit ipinfo.io - should show VPN IP
- If regional service works + ipinfo shows VPN → GeoIP working
Performance Impact
Question: Does GeoIP routing slow things down?
Answer: Minimal impact:
- Direct traffic: Faster (no VPN overhead)
- VPN traffic: Same as before
- Rule checking: Negligible (microseconds)
Security Considerations
What’s Protected, What’s Not
| Traffic Type | With GeoIP | Protection Level |
|---|---|---|
| Matching region | Direct | No VPN encryption |
| International | VPN | Full encryption |
| DNS queries | VPN* | Encrypted |
*By default, DNS goes through VPN even for GeoIP-matched traffic
When NOT to Use GeoIP
- Public Wi-Fi: You may want ALL traffic protected
- Sensitive browsing: If local ISP monitoring concerns you
- Maximum anonymity: Any direct traffic reveals your IP
Safe GeoIP Use
✅ Good for:
- Accessing trusted local services (your bank)
- Regional apps that require local IP
- Improving compatibility while maintaining general privacy
❌ Avoid for:
- Untrusted public networks
- When maximum privacy is priority
- If you don’t need local services
Advanced: How Rules Are Injected
For technically curious users, here’s what happens:
# Rule provider added for selected region
rule-providers:
geoip-cn:
type: http
behavior: ipcidr
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/geoip@release/text/cn.txt"
interval: 86400
# Rule added to routing
rules:
- RULE-SET,geoip-cn,DIRECT
- MATCH,PROXY
This happens automatically when you select a region in settings.
Frequently Asked Questions
Can I select multiple regions?
Currently, FreeGuard supports one region at a time. If you need multiple, choose the most important one for direct access.
Does GeoIP affect my phone if I share VPN from PC?
Yes. Devices using your PC’s shared VPN connection will also have GeoIP routing applied.
Will my ISP see what I’m doing on direct traffic?
Yes. Direct traffic goes through your ISP normally, without VPN encryption. This is why you should only enable GeoIP for trusted local services.
Can websites detect I’m using split routing?
Potentially, if they compare your direct IP with patterns. Most services don’t do this level of checking.
Is GeoIP routing the same as a proxy exception?
Similar concept, different implementation. GeoIP is based on destination IP geography rather than specific domains or apps.
Next Steps
- Download FreeGuard to try GeoIP routing
- View pricing plans for full features
- Split Tunneling Guide for more routing options
- Regional Bypass Scenarios for practical examples
- Protocol Selection for combining with protocols
Last updated: January 2026