Centralization is bad for everyone everywhere.

That bring said… I just moved my homeserver to another city… and I plugged in the power, then I plugged in the ethernet, and that was the whole shebang.

Tunnels made it very easy. No port forwarding no dns configuration no firewall fiddling no nothing.

Why do they have to make it so so easy…

  • madasi@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    Does this cause all traffic at the reverse proxy to appear to come from the source IP of your VPS or does it preserve the original source IP?

    I’ve been working on setting up a similar setup myself and am trying to figure out specifically how to handle the forwarding on the VPS.

    • lucky18391@lemdro.id
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      5 months ago

      I also have a similar setup to maiskanzler. But I use iptables to forward the traffic over wireguard and I am able to preserve the original client IP by not snat the packets. I then have to use policy based routing to make sure that traffick goes back out through the wg tunnel.

      I’m happy to share info on how to get this working.

        • lucky18391@lemdro.id
          link
          fedilink
          English
          arrow-up
          0
          ·
          5 months ago

          I’m not sure what the best way to share this info is. I’d love to write up a blog but not sure how long that would take. I suppose I could just share the wireguard configs here as they include the iptable commands. Will do that tonight when I get a chance.