this post was submitted on 18 Nov 2023
1 points (100.0% liked)

Self-Hosted Main

515 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

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
top 2 comments
sorted by: hot top controversial new old
[โ€“] Burger@burggit.moe 1 points 11 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.top 1 points 11 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