Restrict access to Website/IP to specific OpenVPN client The Next CEO of Stack Overflowopenvpn...
Is it okay to majorly distort historical facts while writing a fiction story?
"Eavesdropping" vs "Listen in on"
Is a distribution that is normal, but highly skewed, considered Gaussian?
Won the lottery - how do I keep the money?
I dug holes for my pergola too wide
Why don't programming languages automatically manage the synchronous/asynchronous problem?
Is it convenient to ask the journal's editor for two additional days to complete a review?
Is it ok to trim down a tube patch?
Purpose of level-shifter with same in and out voltages
How many extra stops do monopods offer for tele photographs?
Does destroying a Lich's phylactery destroy the soul within it?
Is French Guiana a (hard) EU border?
What CSS properties can the br tag have?
In the "Harry Potter and the Order of the Phoenix" video game, what potion is used to sabotage Umbridge's speakers?
What is the difference between "hamstring tendon" and "common hamstring tendon"?
What was Carter Burke's job for "the company" in Aliens?
What steps are necessary to read a Modern SSD in Medieval Europe?
How to get the last not-null value in an ordered column of a huge table?
Why is the US ranked as #45 in Press Freedom ratings, despite its extremely permissive free speech laws?
Is there a reasonable and studied concept of reduction between regular languages?
Why the last AS PATH item always is `I` or `?`?
Can Sneak Attack be used when hitting with an improvised weapon?
Spaces in which all closed sets are regular closed
Does higher Oxidation/ reduction potential translate to higher energy storage in battery?
Restrict access to Website/IP to specific OpenVPN client
The Next CEO of Stack Overflowopenvpn restrictionOpenVPN restrictionOpenWRT + OpenVPN client forwarding from lan to vpn not workingOpenvpn - stuck on ConnectingOpenVPN client nslookup failure after disconnectHow do I use OpenVPN as an appliance in Azure to access protected resources?Restrict client IP address on OpenVPN using TAP interfaceOpenVPN Connect to Internet IssueUnable to connect to openvpn with saved password “auth-users-pass”Set static IP in OpenVPN
I have a digitalocean droplet running Ubuntu 18.04.2 and nginx, and an API built with the Django Rest Framework on it. The specs of the project I'm working on require a VPN to be set up, so I've set up OpenVPN on the droplet. I've also generated a config file to send to the client that will be connecting to my API.
My API is currently still accessible by anyone who has the IP address and the username/password combination I've created. My question is: how can I configure my server/OpenVPN to allow access only to the client that I am going to give the configuration file to?
nginx openvpn django digital-ocean
New contributor
paolompmojica is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I have a digitalocean droplet running Ubuntu 18.04.2 and nginx, and an API built with the Django Rest Framework on it. The specs of the project I'm working on require a VPN to be set up, so I've set up OpenVPN on the droplet. I've also generated a config file to send to the client that will be connecting to my API.
My API is currently still accessible by anyone who has the IP address and the username/password combination I've created. My question is: how can I configure my server/OpenVPN to allow access only to the client that I am going to give the configuration file to?
nginx openvpn django digital-ocean
New contributor
paolompmojica is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I have a digitalocean droplet running Ubuntu 18.04.2 and nginx, and an API built with the Django Rest Framework on it. The specs of the project I'm working on require a VPN to be set up, so I've set up OpenVPN on the droplet. I've also generated a config file to send to the client that will be connecting to my API.
My API is currently still accessible by anyone who has the IP address and the username/password combination I've created. My question is: how can I configure my server/OpenVPN to allow access only to the client that I am going to give the configuration file to?
nginx openvpn django digital-ocean
New contributor
paolompmojica is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I have a digitalocean droplet running Ubuntu 18.04.2 and nginx, and an API built with the Django Rest Framework on it. The specs of the project I'm working on require a VPN to be set up, so I've set up OpenVPN on the droplet. I've also generated a config file to send to the client that will be connecting to my API.
My API is currently still accessible by anyone who has the IP address and the username/password combination I've created. My question is: how can I configure my server/OpenVPN to allow access only to the client that I am going to give the configuration file to?
nginx openvpn django digital-ocean
nginx openvpn django digital-ocean
New contributor
paolompmojica is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
paolompmojica is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
paolompmojica is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 3 mins ago
paolompmojicapaolompmojica
1
1
New contributor
paolompmojica is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
paolompmojica is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
paolompmojica is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
0
active
oldest
votes
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
paolompmojica is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f960871%2frestrict-access-to-website-ip-to-specific-openvpn-client%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
paolompmojica is a new contributor. Be nice, and check out our Code of Conduct.
paolompmojica is a new contributor. Be nice, and check out our Code of Conduct.
paolompmojica is a new contributor. Be nice, and check out our Code of Conduct.
paolompmojica is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f960871%2frestrict-access-to-website-ip-to-specific-openvpn-client%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
