Hello!
The past few days im trying to set up a VPN tunnel (with wireguard) to my droplet. The only reason why i do this is so i can open the Ports on my VPS because my ISP doenst allow port forwading/opening and i dont have my own public IPv4.
Thats why i wanted to create a VPS and connect my self to it via wireguard.
I have no clue at all what im doing (hehe) and only using chatgpt to go around.
I managed to create the VPN and i can also connect to it and it shows the IP on “whatsmyip”.
But when i open the ports my NAT type is still on strict ingame and not open.
I also cant telnet the ports i opened on my droplet.
So i basically just want to know if this is even possible or if im wasting my time
Thanks!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Heya,
You’re on the right track, but there are a few steps that might need tweaking to achieve what you want.
1. WireGuard and Port Forwarding:
2. Troubleshooting Steps:
Ensure Correct IP Routing:
Make sure your VPS is correctly routing the traffic back to your local machine over the WireGuard interface.
You should have something like this in your WireGuard configuration on the VPS:
AllowedIPs
setting should be set to0.0.0.0/0
if you want all traffic to go through the VPS.Port Forwarding:
iptables
or a similar firewall tool.<port>
with the specific port you’re trying to open and<Your_Local_Machine_WG_IP>
with the WireGuard IP address of your local machine.Check Firewalls:
telnet <VPS_IP> <port>
from a different machine.Game and NAT Type: