Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reddit.com Network Security, Blocking VPN Connections #430

Open
underdog-03 opened this issue Dec 1, 2024 · 5 comments
Open

Reddit.com Network Security, Blocking VPN Connections #430

underdog-03 opened this issue Dec 1, 2024 · 5 comments

Comments

@underdog-03
Copy link

Hi Everyone,
I’m currently running several VPS servers with Vultr and Hetzner, where I’ve set up Xray VPN. These servers work seamlessly with most websites, and the IP addresses are neither blacklisted nor banned.

However, I’ve encountered an issue when trying to access Reddit.com. It seems that Reddit’s Network Security detects the VPN connections and blocks access. I’ve tried several approaches, including setting up Fake DNS and using Warp, but unfortunately, I’m still facing the same issue.

photo_5936290075119830167_x

If anyone has a solution or workaround to bypass Reddit’s Network Security while maintaining VPN functionality??
I’d greatly appreciate your guidance

@iopq
Copy link

iopq commented Dec 1, 2024

Route it through Cloudflare warp on the reddit domains so your "exit node" is a different IP

@underdog-03
Copy link
Author

@iopq
Thanks for the tip! However, as I mentioned in my previous message, I’ve already tried Warp, but unfortunately, it didn’t resolve the issue.

@iopq
Copy link

iopq commented Dec 2, 2024

Screenshot_20241202_133548

I just tested it, it definitely works.

If you go to old.reddit.com it will tell you what IP you're accessing from, make sure it's not your VPS

@Phoenix-999
Copy link

@underdog-03
Hi Mate,

Follow the instructions below to test and see if the solution works for you:

Add geosite:reddit and domain:reddit.com to the WARP section of your JSON configuration file.
Here's an example:

{
  "type": "field",
  "outboundTag": "warp",
  "domain": [
    "geosite:reddit", // Include Reddit-related domains
    "domain:reddit.com" // Include Reddit's main domain
  ]
}

Exclude Reddit from the IPv4 Section, If you're using an IPv4 field, DO NOT INCLUDE Reddit in it. Example:

{
  "type": "field",
  "outboundTag": "IPv4",
  "domain": [
    // Avoid adding Reddit-related domains here
    "geosite:cloudflare",
    "geosite:google",
    "geosite:netflix", 
    "geosite:spotify",
    "geosite:speedtest" 
  ]
}

Save your updated JSON configuration file.
Restart and reboot your VPS.
Clear the cache of your client application to ensure accurate testing.
For instance, in V2rayNG, you can clear the cache via the app settings.
photo_5938541874933514932_y

Advanced WARP Configuration (Optional)
If Reddit's network security detection issue persists, update the WARP section with the following configuration to include additional domains:

{
  "type": "field",
  "outboundTag": "warp",
  "domain": [
    "geosite:reddit", // Reddit geosite
    "domain:reddit.com", // Main Reddit domain
    "domain:redditstatic.com", // Static content
    "domain:redd.it", // Short URLs
    "domain:redditmedia.com", // Media files
    "domain:alb.reddit.com", // Load balancer
    "domain:external-preview.redd.it", // External previews
    "domain:styles.redditmedia.com", // Stylesheets
    "domain:b.thumbs.redditmedia.com", // Thumbnails
    "domain:emoji.redditmedia.com" // Emojis
  ]
}

Give it a try and let me know how it goes!
If it works, please share it with others facing the same issue to help them out.

@underdog-03
Copy link
Author

@Phoenix-999

Wow, it’s working! 🎉
The advanced WARP configuration and removing Reddit from the IPv4 section made all the difference.
Thank you so much for taking the time to provide such a clear explanation and detailed instructions.
I truly appreciate your help! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants