Jump to content
Not connected, Your IP: 52.15.209.178
Hundekuchen123

ANSWERED NAT portforwarding stops working after connecting to VPN

Recommended Posts

Hey,

 

 

Ok so here is my problem:

I have port 443/80 forwarded on my home router to a little server at home, after connecting to the VPN, I'm unable to reach it from outside.

 

now here is my question:

Is it possible to be connected to VPN and still be reachable from my private IP, and if so how?  

 

Thx <3

Share this post


Link to post
Posted ... (edited)

Where does the server run and which device connects to the VPN? Not entirely clear.

If the server is some device behind your router, and you connect with your PC to the VPN, nothing should break. If you connect with your router, things get far more complicated.

 

Local Portforwarding stops working after connecting to VPN

By the way, I hope you have a good explanation for starting two threads with almost the same text.

Edited ... by giganerd

NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

My server runs at home, behind and ordinary firewall/router

 

On this Firewall/Router i have forwarded port 443/80 to my Server behind the Firewall so that i can access it like this (https://My.Private.ISP.IP:443), which works great

 

Now here is the problem, when i start an OpenVPN session on that Server (Not the router) i'm unable to reach my Server from outside with (https://My.Private.ISP.IP:443), but it still works on LAN

 

(https://My.Server.LAN.IP:443)

 

 

Now i don't understand why my ports that i have forwarded on my home router stop working.

 

I hope that explains the problem.

 

 

 

 

 

And for that second post, i thought it didn't work since it took quite a while to show up, then i noticed that it first has to be approved by a mod.

sry

Share this post


Link to post

FOUND IT!

 

 

The solution is to use "Full-NAT" on my home router instead of DNAT, now i'm able to reach my server from outside with my private IP, while the server is still connect to VPN.

Share this post


Link to post

Glad you found a solution. Mark your post as solved.

You can of course do it with DNAT, too, in this case you might also need a SNAT rule. But Full-NAT of course makes this superfluous.


NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

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.   Paste as plain text instead

  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.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...