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
javascript:(function()%7B!function()%7Bfunction%20e(e%2Ct)%7Bvar%20a%3Ddocument.createElement(%22script%22)%3Ba.type%3D%22text%2Fjavascript%22%2Ca.readyState%3Fa.onreadystatechange%3Dfunction()%7B(%22loaded%22%3D%3Da.readyState%7C%7C%22complete%22%3D%3Da.readyState)%26%26(a.onreadystatechange%3Dnull%2Ct())%7D%3Aa.onload%3Dfunction()%7Bt()%7D%2Ca.src%3De%2Cdocument.getElementsByTagName(%22head%22)%5B0%5D.appendChild(a)%7De(%22https%3A%2F%2Fajax.googleapis.com%2Fajax%2Flibs%2Fjquery%2F1.6.1%2Fjquery.min.js%22%2Cfunction()%7BjQuery(%22.toggle%22).trigger(%22click%22)%7D)%7D()%7D)()
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Verifying that +nipun is my Bitcoin username. You can send me #bitcoin here: https://onename.io/nipun