Skip to content

Instantly share code, notes, and snippets.

View nipund's full-sized avatar

Nipun Dayanath nipund

  • Davenport, IA
View GitHub Profile
@nipund
nipund / PortForwardOverWireGuard.md
Created April 7, 2025 19:51 — forked from adog1314/PortForwardOverWireGuard.md
Port forward over wireguard to VPS with static IP

Port forward over wireguard to VPS with static IP

This is write up is on how to port forward over wireguard. I am going to be port forwarding a mail server running MailCow on my local server, but really any service can be port forwared with some modifications to the IPTables commands in the wireguard file.

I am using a cheap Vultr VPS as my proxy server, if your intrested heres a referral link https://www.vultr.com/?ref=9019507 where I get $10 or if you plan to spend more then $35 on your account you will get $100 and I will get $35 https://www.vultr.com/?ref=9019508-8H

My Setup

  • Debain 10 Buster
  • Tunnel subnet: 10.1.1.0
  • Proxy-VPS Tunnel IP: 10.1.1.1