Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Is there a way to access only certain sites via a proxy (i.e. imgur in the UK)

This is what I was thinking. imgur is blocked in the UK, but so many places use/have used it in the past that it makes browsing the web annoying. I also don't want to go through a VPN all of the time though.

So can I set up an idling VPS to be like a proxy for imgur, and then in my device hosts file I point imgur.com to that IP, and then when I visit an imgur link it will go via my VPS?

or does this already exist? I feel like if it were that easy, someone would have done it already

Thanked by 1oloke

Comments

  • sniproxy?

  • rpqurpqu Member
    edited February 1
    Thanked by 1hostnoob
  • @NHNHNH000 said:
    sniproxy?

    Yes that would work - although depending on your latency to the vps you might not want to use the dns-part, but just the proxy part

    Thanked by 1hostnoob
  • emperoremperor Member
    edited February 1

    With my router this one is easy to setup. Just up some vpn (can add multiple vpns) and add https://imgur.com to include list and thats it. Every site which i open would be from my home ip except https://imgur.com which would be from the vpn. My router is GL-MT3000 / Beryl AX - GL.iNet. 70$ little devil.

    @hostnoob said: VPS to be like a proxy for imgur

    With this setup you can do it, but need to know how to work with iptables and routes.

    Thanked by 1hostnoob
  • sliixsliix Member

    Foxyproxy can do per site/url proxy.

  • lichadelichade Member
    edited February 1

    https://libredirect.github.io/

    You can make it redirect iframes and hotlinked images as well.

    Also, Rimgo* is a great use for idlers

  • SsreSsre Member

    Proxifier is great and simple to use. It's SOCKS only, you can setup any rule you like based on exe, host, port, routing through different proxies, as well as exceptions, etc.

    Thanked by 1hostnoob
  • I have an nginx container that just proxies those domains without breaking tls, then have the DNS for them set to the IP of the container. works flawlessly

  • uhuuhu Member

    If you're always SSH'ed into your VPS, and don't trust anyone, proxy.pac is the answer.

    Thanked by 1hostnoob
  • Foxyproxy or proxifier will work for you.

    Thanked by 2oloke hostnoob
  • I'd be sceptical if this can work with a standard VPS, Imgur is already very happy to block most VPN IPs, so I suspect they would block many datacentre ones as well. You might need a residential proxy.

    You'll know if you hit that because you'll get "Imgur is temporarily over capacity. Please try again later." and a 403. It's a misleading error message, but that basically means you're blocked.

    Might be worth a try though.

    Thanked by 1hostnoob
  • Foxyproxy can filter by domain.

  • yoursunnyyoursunny Member, IPv6 Advocate

    You can configure a PAC file in the browser.
    https://en.wikipedia.org/wiki/Proxy_auto-config

    The PAC file is a JavaScript file that defines a FindProxyForURL(url, host) function.
    This function is invoked for each URI the browser wants to access.
    You can implement this function to either return DIRECT for resources not needing proxy, or return an HTTP proxy for resources needing a proxy.

    We've been using this since high school and it never let us down.

  • ralfralf Member

    @yoursunny said:
    You can configure a PAC file in the browser.
    https://en.wikipedia.org/wiki/Proxy_auto-config

    The PAC file is a JavaScript file that defines a FindProxyForURL(url, host) function.
    This function is invoked for each URI the browser wants to access.
    You can implement this function to either return DIRECT for resources not needing proxy, or return an HTTP proxy for resources needing a proxy.

    We've been using this since high school and it never let us down.

    Yeah, I've had a system like this in place for a particular work related site that needed a whitelisted IP. Must admit I never thought of using it for imgur, but now I will look into it! :)

    Thanked by 1hostnoob
  • hexilordhexilord Member
    edited February 1

    @hostnoob if your main usecase is your personal computer, I'd suggest looking into v2ray and clash, it's what Chinese people use to route western sites through a proxy while leaving the rest untouched.
    Since you're in the UK you can expand your ruleset to include other stuff other than imgur, like warez sites, through the proxy as well.
    Advantage of this is that it can work system wide if you want, so you can even route entire apps or processes though it (you will need root)

    Thanked by 1hostnoob
  • Thank you all.

    I ended up just making a simple Chrome extension to an unused VPS and then using nginx as a proxy

    It's working fine

    Thanked by 1forest
  • @hostnoob said:
    imgur is blocked in the UK ... I also don't want to go through a VPN all of the time though.
    when I visit an imgur link it will go via my VPS?

    You need an extension like this one: https://addons.mozilla.org/en-US/firefox/addon/easyproxy/

    Search for something like "proxy switch" and "proxy toggle" on Firefox Add-ons site, there are multiple options available.

    The link above is from my old bookmarks (I have more), but I intentionally picked the simpler plug-ins (mostly on/off).

    or does this already exist? I feel like if it were that easy, someone would have done it already

    What you described is the task I've been looking to solve for the last 8 or 9 years.

    Despite the numerous open source projects these days, millions of developers on GitHub, etc., there's still no browser extension for self-hosted VPNs.
    If you self-host, the only option is putting all your traffic into the tunnel.

    @Kodomu said: you'll get "Imgur is temporarily over capacity. Please try again later." and a 403

    That's correct.
    However the error is not 403, but 429. Which makes little difference user-wise.

  • @DataRecovery said:
    However the error is not 403, but 429. Which makes little difference user-wise.

    I get a 403, so it likely can be either. Probably the same block but for different reasons.

    I'm not in the UK (far from it in fact) but this is the result from the VPN servers I use, so maybe some are rate limited under 429 and some are outright blocked under 403.

    Only Imgur truly knows of course.

Sign In or Register to comment.