Exposing WAN IP


luizmont

Recommended Posts

Hello everyone,

 

First of all, english isn't my main language, so please excuse any errors.

 

My question is a simple one, but I'll illustrate with my setup after the question, to see if someone have any suggestions on improving my setup.

 

So the question is if it's okay/secure to expose my WAN IP (the IP is dynamic).

 

Now here's my setup.

 

I have pfSense installed as a VM on unraid, managing my home internet (no double NAT).

I'm using Wireguard to access my unraid server remotely.

I followed SpaceInvaderOne tutorials, purchased my own domain (example.com), configured it with cloudflare, and setup letsencrypt to access some services remotely (and provide access to friends and family).

Wireguard works just fine and I don't have problems with it. However, regarding the cloudflare/letsencrypt setup, I have the situation where I can't proxy the connection (or wireguard will not work, since it will not get the WAN IP, but instead, the cloudflare IP).

Since I'm not using the connection in a proxied way, the WAN IP gets exposed easily.

 

Is this the way things are supposed to work?

If it isn't, I'll gladly accept any help in setting up in the right way!

 

Thanks in advance!

 

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.