Running a Single Application Through a VPN #30
Replies: 4 comments
-
|
Hey, I used this to run an app through a VPN, but that app requires access to an SQL server on the host running on localhost with port 5432. How do I access this? |
Beta Was this translation helpful? Give feedback.
-
|
Hi @fadedcoder. That's a great question, and one that I hint at at the bottom of the article ("Aside: Local listening Apps). However, there are multiple solutions to this. The most reliable might involve setting up a private network for the network namespace like A more hacky solution mentioned in the article is While you may need to play around with it, doing something like This will create a listening socket on port 5432 inside the network namespace, which connects to port 5432 on the host. I can't help you beyond this! |
Beta Was this translation helpful? Give feedback.
-
|
I get a when doing the |
Beta Was this translation helpful? Give feedback.
-
|
Hey, I would suggest playing around with the command (maybe get rid of |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Comment on Running a Single Application Through a VPN.
Beta Was this translation helpful? Give feedback.
All reactions