hey everyone! I’m back after taking some time off from certain things. before I start losing my mind from not having anything to do, I decided that I’m going to start being more “involved” in the online world. even if It’ll take away some of my privacy a bit, also because I want to practice being less paranoid, I’m sure some of you know how this feels very well. and so far there’s no clear answer to how you could become truly invisible. by the way, I now finally have my own fediverse social media account and my own website. there’s no such thing as ‘blogger’ type fediverse platform so I chose something else for now.
moreover, here’s the actual reason I came back online; can anyone tell me how I can make my own hosted vpn?
I just set it up and it works. one more thing, I’m using TOR and wireguard seems to route all traffic through the vpn. is it possible to use it like a proxy?
You can adjust what traffic you wish to send over wireguard by adjusting
allowed-ips
peer attribute (assuming you’re usingwg-quick
), e.g. if you only wish to send yourlemmy.ml
traffic over wireguard tunnel, then get the IP address(es) associated withlemmy.ml
DNS name, and add them toallowed-ips
attribute of your wireguard peer (in your local configuration), while removing the default route from there. With this reconfiguration tunnel, you will now have route(s) tolemmy.ml
going over wireguard while rest of the traffic going via the default route. You can keep appending more routes toallowed-ips
over time, and reloading tunnel configuration.HTH
thanks. so pretty much I can’t just like use certain programs with wireguard then. maybe I’ll use this as an alternative though this is pretty complicated for certain apps like matrix. I’ll just use up and down switch for now.
For more flexibility, you can try with OS’s support for that, e.g. Linux network namespaces, or
setfib(1)
in FreeBSD. AFAIK, there is nothing in Wireguard to do that other than what’s possible with routing.