You already own a proxy … it’s your router!

Поделиться
HTML-код
  • Опубликовано: 5 авг 2024
  • Use the coupon code ROUTER at checkout to get a 50% discount on the royal residential proxies. Make sure to use it before the deal expires!
    iproyal.club/DevOdyssey
    Follow me on Twitter and Facebook
    / dev_odyssey
    / dev0dyssey
    You guessed it, or maybe not; I made a router into a proxy! It acts like a proxy in many ways, especially with NAT, but by default, it does not act like a web proxy. As many of us have use cases for web proxies, you think it would make sense to use a router as a web proxy. Depending on your use case, it does and doesn't. If you're simply trying to proxy traffic, then you can easily make your router into a web proxy using Privoxy package in OpenWrt. If you need to do heavier workloads, like TLS decryption, you would want to use a server as it would have the resources to tackle that. With lighter workloads of simply proxying web traffic, you can have a web proxy on your router that can service your needs. Using OpenWrt 21.02 and Privoxy 3.0.33, I show you in this video how to set up a basic Privoxy instance, using paid Royal Residential Proxies as Upstream Proxies from IP Royal, to proxy your web traffic through different IPs all over the world. Whether you are doing data mining, web scraping, sneaker shopping, SEO research or social media research, this demonstration will get you set up with a proxy you can use for all your network devices, tailoring it websites that you need proxied. Follow along to get your proxy router up and running around the world!
    Links
    OpenWrt
    openwrt.org/
    Privoxy Documentation
    www.privoxy.org/user-manual/
    Privoxy Sample Configuration (used in this video)
    gist.github.com/odevodyssey/7...
    Chapters
    00:00 Intro
    00:35 Video Sponsor (IP Royal)
    01:56 Router as a Proxy
    05:51 Privoxy Demonstration
    20:04 Final Thoughts
    20:33 Outro
    Attributions
    Music | "Still Love You" by LiQWYD
    Watch: • LiQWYD - Still Love Yo...
    License: www.liqwydmusic.com/how-to-use
    Download/Stream: hypeddit.com/liqwyd/still-lov...
    Privoxy copyright by Privoxy Developers - www.privoxy.org/user-manual/c...
    OpenWrt is a registered trademark owned by Software Freedom Conservancy (SFC)
    Tags
    #router #proxy #homenetwork #openwrt
  • НаукаНаука

Комментарии • 22

  • @DevOdyssey
    @DevOdyssey  Год назад +2

    Would you install a proxy server on your router? Curious about HTTPs traffic decryption?

    • @francocastilloAR
      @francocastilloAR Год назад

      This serves to function as network cache?

    • @DevOdyssey
      @DevOdyssey  Год назад +1

      @@francocastilloAR Hi Franco! Its specifically a non caching proxy, so if that is what you are looking for, you'd probably want to try out squid proxy.
      www.privoxy.org/
      www.squid-cache.org/

    • @nusaid2131
      @nusaid2131 Год назад

      How setting openwrt as proxy clien? I need set proxy for connecteng to pdanet thetring

    • @DevOdyssey
      @DevOdyssey  Год назад

      ​@@nusaid2131 Thanks for watching NUSA ID!
      In this video, that is exactly what I cover! Privoxy can act as a server, and a client. However, if you only want to proxy just the connections that OpenWrt makes (and not from devices that connect to OpenWrt), the you can simply export the https_proxy and http_proxy variable in a shell script, like so:
      forum.openwrt.org/t/how-to-set-up-a-router-behind-a-proxy-server/106697/3
      If you want to use PDAnet because of a PAC URL, then i'm not sure if thats possible. I did find a reference to that here, but no exact resolution.
      forum.openwrt.org/t/connecting-openwrt-as-a-client-to-a-proxy-network/44640/7
      Is there a certain way you are connecting and authenticating to the proxy? It should be a pretty general process.

  • @clearshadow213
    @clearshadow213 4 месяца назад +1

    Thanks !

    • @DevOdyssey
      @DevOdyssey  4 месяца назад

      You’re welcome @clearshadow213!

  • @khankuet
    @khankuet Год назад

    U know in app like proxifier where I can add a sock5 proxy with user and password, then tunnel an another app (say: chrome) through that proxy to make that app(chrome) think im on that sock5 ip.
    is there any way I can set my openwrt for that socks5 proxy with credentials for tunneling all the traffic from every connected device under that openwrt router?
    I just want my openwrt router to be an alternative to the proxifier app to use a socks5 proxy for all devices under my one openwrt network. how can I do it ?

    • @DevOdyssey
      @DevOdyssey  Год назад

      Thanks for watching Abir!
      I am not personally familiar with Proxifier, but doing a google search, it seems very simple to set up a SOCKS5 proxy in Proxifier.
      However, setting up Chrome to use Proxifier seems a lot more difficult, if not possible at all. You _may_ be able to use the link below to launch Chrome with preconfigured proxy settings (though it wouldn't use Proxifier, it would be best to go against the proxy directly)
      www.chromium.org/developers/design-documents/network-stack/socks-proxy/
      But, that does say chromium, and not chrome (even though Chrome is based on Chromium).
      So I'm not sure if you can get that to work (without proxying all your OS network traffic, unless you are running Linux, in which this chromium link above should work).
      I would personally suggest using Firefox and FoxyProxy, which is a plugin that lets you customize the proxy you use, specifically for Firefox. If you have a hard requirement of using Chrome, then you may want to research proxy extensions for Chrome.
      With the Firefox example, you should be able to set the credentials for the Socks5 proxy, (whether you are going through OpenWrt, or to the proxy server directly)
      OpenWrt can certainly be your alternative to Proxifier, as demonstrated in this video, though, getting all your devices to use that proxy is a different story. Your devices will all have to be configured to use OpenWrt as the proxy. There is no easy way for this to happen automatically, though its technically possible, but with a lot of complicated configuration and additional software. If you are able to configure the proxy manually on all your devices, then you should have no problem following this video.

  • @wabbabwab
    @wabbabwab Год назад

    could you use this for pen testing a router, I'm trying to see if I can put a proxy on a router from the routers IP, with out having access to the router.

    • @DevOdyssey
      @DevOdyssey  Год назад +1

      Thanks for watching wab bab wab!
      Interesting question. If you're were trying to do security testing on a router you own, you really wouldn't need a proxy, since in that scenario there isn't a real need to obfuscate your IP. the benefit to having a proxy on your router is to act like a proxy, and basically manage the web traffic from the network it sets up. You could do this in reverse, so lets say you are away from your home, and want your traffic to go through your home network, you can use Privoxy on your router to do that. However at that point, I'd personally use a VPN as you'd get the same benefit.
      To answer your question, you can put a proxy on a router, using the router's IP address (public or private), without needing access to the router. You'd just need to set up the proxy service, and make sure the clients have access to the router, and make sure firewall rules allow that traffic, and that should be it. Afterwards, you wouldn't need access to the router to use the proxy.

  • @goppinaththurairajah760
    @goppinaththurairajah760 Год назад +1

    Thanks again for the detailed explanation. I am a big fan of Squid 🦑 caching proxy before the HTTPS world and used it a lot. On the other hand I am not a big fan of HTTPS decryption either. Internet is getting fast and fast and browses are also caching the content. Web contents are more dynamic than earlier. In the respect the usage of proxy has no much benefits IMO. Or am I overlooking something here?

    • @DevOdyssey
      @DevOdyssey  Год назад +1

      You’re welcome! Thanks for watching! Squid has been around for quite some time, especially in the early days of HTTP. Setting up HTTPS is definitely more difficult, and inherently breaks the privacy aspect of HTTPS, but still has its benefits as a performant caching proxy for more static content. I would agree, caching has definitely changed with HTTPS and how the internet is use with more dynamic content. Where I still see it as useful is with CDN type content (content delivery networks), where a good amount of that traffic is even HTTP based, since it’s usually static content. This is still very often used with many websites. In that regard Squid still has its purpose. Otherwise, if the content is always dynamic, then caching really doesn’t make sense, nor a caching proxy.

    • @goppinaththurairajah760
      @goppinaththurairajah760 Год назад +1

      @@DevOdyssey makes sense and fair. Keep it up 👍🏽

  • @pravin.n
    @pravin.n Год назад +1

    Does this protect against dns leaks?

    • @DevOdyssey
      @DevOdyssey  Год назад

      Thanks for watching Pravin!
      Good question. To my knowledge, Privoxy does not do any sort of DNS resolution or act as a DNS server. Therefore, you will want to ensure that you have a DNS server IP setup on your Router / WAN interface, that is a DNS server you trust, or one you consider private. So Privoxy does not protect against DNS leaks since its only acting on HTTP traffic. I couldn't find a setting of where to specify a DNS server either.

  • @agtv1963
    @agtv1963 Год назад

    I setup socks5 server on mikrotik router in my office,, i want to connect the server Using openwrt from my home,,how to setup socks5 client in openwrt for my lan users in my home?
    I know mikrotik have other option l2tp,pptp,openvpn but all protocol blocked by government 😭only socks5 working
    Please help me

    • @DevOdyssey
      @DevOdyssey  Год назад

      Thanks for watching Sadiqur!
      If you already have your office router (mikrotik) set up as a socks5 server with the correct port forwarding, and PrivOxy installed on OpenWrt, you should be able to follow along at 16:21, where you specify your socks5 proxy server, along with your credentials for authentication. Then you can set up your client's (say a web browser or FoxyProxy) proxy settings to point to PrivOxy on OpenWrt, and then you can tunnel your HTTP traffic over the socks5 proxy. This would only be HTTP traffic through the tunnel and not any other traffic, since PrivOxy is only an HTTP proxy.

  • @luhwoppp
    @luhwoppp Месяц назад

    The services menu doesn’t pop out on mine router any suggestions

    • @DevOdyssey
      @DevOdyssey  Месяц назад

      Thanks for watching @luhwoppp! Could you elaborate more? Does it actually show up after the install, and are you saying the dropdown doesn't show anything?
      What version of OpenWrt are you running? I haven't used this in the newer versions, 23.05, so I can't be sure if there are any issues, but to me it sounds like it could be something you are misunderstanding.

  • @stuporpendus653
    @stuporpendus653 6 месяцев назад

    Is there any way I can contact you? I would pay you to help me setup my router. But I don’t have twitter or Facebook.. I need help!! 😩 I’ve hit a brick wall on my understanding and im trying to figure out why!

    • @DevOdyssey
      @DevOdyssey  6 месяцев назад +1

      Thanks for watching @stuporpendus653!
      You can contact me by visiting my channel's about page where I have my email. I'd be glad to help you with your router setup.
      We've all been there before, you're just missing a key piece of missing information and understanding. Once you discover it, it all comes together and everything makes sense. If you have any other specific questions, feel free to ask here as well, where it may benefit others who are watching this video.