Is it possible to set up a VPN server on Debian 8 while keeping my web services (php/apache)? [closed] - web

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I would like to set up a VPN server, however it means ipv4 forwarding. Is it possible to set up a VPN without shutting down web services or should i use 2 separate servers ?
Thanks for reading ;)

Setting up a VPN server should not affect your web services. The only limitation is that you cannot use an HTTP(S) port (80 or 443), which I personally find practical (I have already seen Wi-Fi hotspots blocking all the ports except 80 and 443). However, if you get along with another port, you will do fine.
There is a good article about setting up an OpenVPN server on Debian Wiki (here). I have managed to set up the server using only this article.
Wishing you good luck.

Related

Ubuntu server can be accessed from two hostnames [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
in our company we have a Ubuntu 16.04.5 server, where we keep our intranet website and some other simple sites. All works good, but we can access the server using two names like - http://server/website/ and http://server1/website/ . I checked all apache2 files and all host files and I did not find anything related to the name server1, only hostname server. Maybe someone can help me figure out where something like this is configured on how to turn it off.
For me this is normal situation. You have configured one site on this machine. But your DNS server have two records for the IP of the machine. And when you reach apache via first hostname you get the site as it is defined. When you reach the machine via second hostname apache check the hosts defined and see there is no special definition for this hostname and serve the request with first configured host.

how to check which dns client is used on an external server? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
The issue is that i cannot determine what domain name system external servers use.
I want to be able to spot which kind of domain name system client is a server using without having actually access to it.
I have tried several commands on n map with domain name system searching script, but the result is not clear.
For ports open i can use n map.
Is there a solution for domain name system spotting too ?
There is nothing within the DNS protocol which will do what you are asking for. Which port does not matter as port 53 is the standard DNS port and all DNS server regardless of what software they are running will respond on port 53 and will return data in the same way. Without access to the remote server you would not be able to identify what DNS server software they are running.

Remote Desktop to Azure VM not working [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have an Azure VM created using MSDN account.
But cannot remote-desktop into it using mstsc.
- Tried 443 port adding on VM
- Choose mstsc > options > settings > RD Gateway server > (entered VM name)
Any hints on how to remote to it?
I generally download the RDP file from the portal. This has worked pretty reliably for me.
Find the RDP endpoint port (public port) in VM settings, and RDP into that. You won't use the gateway address in the RDP client in a normal scenario, that setting is only used if you have an RD gateway server (which I'm willing to bet you don't have). So all you need is the address (cloud service URL) + port.
Or just download the RDP file, which is way easier.

TLS to secure external client server application [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
is it possible to use transaction layer security (tls) to secure an external client/server application without modifying the code of the application itself?
Say a client application on a machine connects to several servers on several machines over an unsecured connection. I want to encrypt this connection using openssl/tls, but I can't modify neither client nor servers, but the machine configurations (linux os running underneath). I just found stunnel but it seems that it just supports a 1:1 connection.
Thanks in advance.
If you have a finite (and reasonably small) number of servers and you can configure the port number on your client for each connection, you could run stunnel on multiple ports, each one corresponding to a different destination.
However, it sounds like setting up a VPN between all these machines would be a better option. Some VPN implementations rely on TLS, but I'm not sure it would be the best choice here. You might want to investigate other methods, such as IPSec too.

Where Linux kernel(3.4.34) open port on nat device? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I use an Linux Server for nat device.
Currently it looks like [PC1,2,3]--[Linux]--[Internet]
There is no issue at all , but I'm curious about , when I open a service (ex: FTP WWW ) on my PC1 , did my [Linux] also opened a port service on it ?
I did trace code for the
CONFIG_NF_CONNTRACK_FTP
CONFIG_NF_NAT_FTP
but I cant find related code about port open.
Thanks for your read.
There are various techniques used the make a router/firewall automatically forward ports to its clients. For example there are some protocols like: IGD, NAT-PMP et similia.
But those protocol need to be implemented both on router and on client. So automatic port-mapping won't work out of the box in many cases.
The lines in kernel config you are referring to CONFIG_NF_CONNTRACK_FTP CONFIG_NF_NAT_FTP are used for another reason: due to the fact that FTP protocol use two different tcp streams for comunication (one of which does not have to be "listened" by the server) your firewall needs extra "effort" to track the connection and act accordingly.

Resources