Answer the question
In order to leave comments, you need to log in
How to open a port with a working vpn connection?
Successfully opened a port for incoming connections according to the instructions www.youtube.com/watch?v=LmFXIJmYyd4
But as soon as I connect to vpn, the port is again displayed as closed (according to 2ip.ru/check-port ), which is logical in principle, all traffic goes through vpn server. Can I configure my routing so that traffic through this port goes past the vpn, through my main provider.
Purpose: to open a port for incoming connections so that users of my program can query the database located on my computer
Answer the question
In order to leave comments, you need to log in
Much easier to set up if you work through a service, for example thesafety.us/en
I want to describe my solution:
1. Register metrics - for VPN - 1, for the main network - 2.
2. Disable the checkbox about the gateway in the remote network for VPN
3. Register a static route to all IPs through VPN: route add 0.0.0.0 mask 0.0 .0.0 Gateway-VPN IP
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question