Jump to content
Not connected, Your IP: 3.219.31.204
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

» I am not an AirVPN team member. All opinions are my own and are not to be considered official. Only the AirVPN Staff account should be viewed as such.

» The forums is a place where you can ask questions to the community. You are not entitled to guaranteed answer times. Answer quality may vary, too. If you need professional support, please create tickets.

» If you're new, take some time to read LZ1's New User Guide to AirVPN. On questions, use the search function first. On errors, search for the error message instead.

» If you choose to create a new thread, keep in mind that we don't know your setup. Give info about it. Never forget the OpenVPN logs or, for Eddie, the support file (Logs > lifebelt icon).

» The community kindly asks you to not set up Tor exit relays when connected to AirVPN. Their IP addresses are subject to restrictions and these are relayed to all users of the affected servers.

 

» Furthermore, I propose that your paranoia is to be destroyed. If you overdo privacy, chances are you will be unique amond the mass again.

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.


» I am not an AirVPN team member. All opinions are my own and are not to be considered official. Only the AirVPN Staff account should be viewed as such.

» The forums is a place where you can ask questions to the community. You are not entitled to guaranteed answer times. Answer quality may vary, too. If you need professional support, please create tickets.

» If you're new, take some time to read LZ1's New User Guide to AirVPN. On questions, use the search function first. On errors, search for the error message instead.

» If you choose to create a new thread, keep in mind that we don't know your setup. Give info about it. Never forget the OpenVPN logs or, for Eddie, the support file (Logs > lifebelt icon).

» The community kindly asks you to not set up Tor exit relays when connected to AirVPN. Their IP addresses are subject to restrictions and these are relayed to all users of the affected servers.

 

» Furthermore, I propose that your paranoia is to be destroyed. If you overdo privacy, chances are you will be unique amond the mass again.

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...