Hi,
My home server is my main server. It runs on Yunohost.
I also have a small VPS on Yunohost.
I have set the VPS as a Wireguard server,
and the home server as a Wireguard client.
Both have IPv4 addresses.
Only the home server has IPv6, which I disabled for convenience.
I disabled IPv6 on wireguard.
I want the home server to have the VPS IP address because:
- reverse DNS configuration possible
- not on spamming blacklist
What I did:
I successfully connected my home server to the vps through wireguard.
I updated my DNS zones accordingly on my home server.
Problem:
When running diagnosis on my home server connected to Wireguard, it says that ports 80, 443, 25, etc. are inaccessible online.
I opened these ports on both my home router, home yunohost, vps router and yunohost router. But ports are still reported as closed.
I searched for information for wireguard configuration to liberally allow clients with no restriction. On the WG server, I set the allowed IP to 0.0.0.0/0
I tried to make nginx, SMTP, IMAP listen to other ports than the default, and opened those ports on firewalls accordingly.
I even tried - for investigation purpose - to temporarily disable firewalls, open all ports, set my server on DMZ to see where it blocks but I had no success.
I am pretty sure that by lack of experience I missed something. I spent 2.5 full days on it but failed.
Do you have any suggestions?
Let me know if you need more information.
Thanks