Good day

I am going abroad soon. I have a raspberry pi server running 24/7. When I go abroad I want to connect to Internet through raspberry pi. So it will go from my phone via proxy server (pi) to internet to fetch requested data and hopefully unblock blocked websites.

I understand reverse proxy allows you to host some static website on your sever that you can access from internet (example). But I wish to access internet via proxy to unblock websites/services that might be blocked in another country when you travel there.

Is it similar to vpn or is it a proxy? Apologies I wish to understand more and I want to know where I can start looking for resources.

I have few questions too

  • do I need reverse proxy or forward proxy?
  • I do not have SSH enabled, is it required?
  • I currently have “reverse proxy” I believe. This means I am outdoors and can fetch a website from my home server. I use lightppd for this. Could I use lightppd to achieve this?
  • What is the best way to secure this proxy connection?
  • I want to avoid installing 3rd party apps, but I am happy for inightful posts should these be beneficial
  • Burger@burggit.moe
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    Forward proxy. Reverse proxy is meant for inbound connections, not outbound.

    You’re probably overthinking this though. Unless you absolutely need a SOCKS proxy, just setup a wireguard tunnel. It’ll be faster since it’s in-kernel and uses UDP.

    Here’s an easy script that’ll get you setup fast:

    https://github.com/angristan/wireguard-install

  • Do_TheEvolution@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    do I need reverse proxy or forward proxy?

    forward proxy, look at this squid guide

    I do not have SSH enabled, is it required?

    nope, its for managment, to make changes

    Could I use lightppd to achieve this?

    dunno

    What is the best way to secure this proxy connection?

    Setup a VPN like wireguard-easy, so that you are not connecting to your forward proxy through open port to the world, but first through VPN and only then to the proxy.

    I want to avoid installing 3rd party apps, but I am happy for inightful posts should these be beneficial

    Your browser should have proxy settings, so not 3rd party app needed, though some browser extensions like foxyproxy are nice