Re: [Openvpn-users] Multiple OpenVPN server on one NIC

2023-07-24 Thread Leroy Tennison via Openvpn-users
See  https://serverfault.com/questions/1074672/where-and-how-should-i-define-openvpn-user-pass  and  https://openvpn.net/community-resources/using-alternative-authentication-methods/ On Monday, July 24, 2023 at 05:44:16 AM CDT, Jason Long via Openvpn-users wrote: Hello, Thank you so muc

Re: [Openvpn-users] Multiple OpenVPN server on one NIC

2023-07-24 Thread tincantech via Openvpn-users
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 --- Original Message --- On Monday, July 24th, 2023 at 13:39, Jason Long wrote: > Hello, > What is top-posting? > I just click on "Reply all". Please send your replies to the mailing list, unless otherwise instructed. Try google: "What i

Re: [Openvpn-users] Multiple OpenVPN server on one NIC

2023-07-24 Thread tincantech via Openvpn-users
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, Was it not yourself that asked people to stop top-posting ? Regardless, It behooves you to read the documentation for the tools you use. The EasyRSA 'nopass' option, obviously, creates private keys without password encryption. If you encrypt

Re: [Openvpn-users] Multiple OpenVPN server on one NIC

2023-07-24 Thread Jason Long via Openvpn-users
Hello, Thank you so much for your reply. In these command, why "nopass" ? # ./easyrsa build-ca nopass # ./easyrsa gen-req server nopass # ./easyrsa gen-req client nopass If I entered a password, then where is this password used? On Monday, July 24, 2023 at 02:46:18 PM GMT+3:30, tincantec

Re: [Openvpn-users] Multiple OpenVPN server on one NIC

2023-07-24 Thread Hans via Openvpn-users
forge.net>>, "Jochen Bern" mailto:jochen.b...@binect.de>> Subject: Re: [Openvpn-users] Multiple OpenVPN server on one NIC Hi Jochen, Thank you so much for your reply. I have two more questions: 1- So, both of IP address and Port number must be different? 2- If the IP add

Re: [Openvpn-users] Multiple OpenVPN server on one NIC

2023-07-24 Thread tincantech via Openvpn-users
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, --- Original Message --- On Monday, July 24th, 2023 at 11:42, Jason Long via Openvpn-users wrote: > Hello, > Thank you so much for your reply. > Your answer raised another question in my mind. Can I use the same "ca.crt", > "server.

Re: [Openvpn-users] Multiple OpenVPN server on one NIC

2023-07-24 Thread Jason Long via Openvpn-users
Hello, Thank you so much for your reply. Your answer raised another question in my mind. Can I use the same "ca.crt", "server.crt", "server.key" and "dh.pem" files for other servers? Or do I need to create one for each new server? The tutorial that I used to create the crypto files use the follo

Re: [Openvpn-users] Multiple OpenVPN server on one NIC

2023-07-24 Thread Bo Berglund
On Mon, 24 Jul 2023 05:45:47 + (UTC), Jason Long via Openvpn-users wrote: PLEASE STOP TOP-POSTING (corrected below)! >>On Sunday, July 23, 2023 at 06:29:20 PM GMT+3:30, Gert Doering >> wrote: >> >>Hi, >> >>>On Sun, Jul 23, 2023 at 01:32:19PM +, Jason Long wrote: >>> 1- If the port numb

Re: [Openvpn-users] Multiple OpenVPN server on one NIC

2023-07-24 Thread Jochen Bern
On 23.07.23 16:35, Jason Long wrote: I have two more questions: 1- So, both of IP address and Port number must be different? 2- If the IP address is different, then the port can be the same? Please answer my questions by number. #2 is correct. For any protocol (like TCP and UDP) that uses "port

Re: [Openvpn-users] Multiple OpenVPN server on one NIC

2023-07-23 Thread Gert Doering
Hi, On Mon, Jul 24, 2023 at 05:45:47AM +, Jason Long wrote: > Hi Gert, > Thanks again for your reply. > But, I tested my OpenvPN server. As I understand, the Port number is > important for the OpenVPN server, because with the same IP address and > Different Port, The OpenVPN worked. You can

Re: [Openvpn-users] Multiple OpenVPN server on one NIC

2023-07-23 Thread Leroy Tennison via Openvpn-users
A company I consult with is running three OpenVPN servers on a single NIC.  Either the port or possibly the protocol has to be different.  And there are cautions about running OpenVPN on tcp so probably best to stick to different ports.  In the situation above one OpenVPN instance used udp and

Re: [Openvpn-users] Multiple OpenVPN server on one NIC

2023-07-23 Thread Jason Long via Openvpn-users
Hi Gert, Thanks again for your reply. But, I tested my OpenvPN server. As I understand, the Port number is important for the OpenVPN server, because with the same IP address and Different Port, The OpenVPN worked. Server 1: port 1194 proto udp dev tun ca ca.crt cert server.crt key server.key   

Re: [Openvpn-users] Multiple OpenVPN server on one NIC

2023-07-23 Thread Bo Berglund
On Sun, 23 Jul 2023 09:43:54 + (UTC), Jason Long via Openvpn-users wrote: >Hello, >Is it possible to run multiple OpenVPN server on one NIC? Or each OpenVPN >server profile needs a separate NIC? > On my VPN servers (I run such a server on each network where I have RPi devices running so I c

Re: [Openvpn-users] Multiple OpenVPN server on one NIC

2023-07-23 Thread Gert Doering
Hi, On Sun, Jul 23, 2023 at 01:32:19PM +, Jason Long wrote: > 1- If the port number is different, then "server" IP can be the same? For > example, the first server use: No. That is inside IPs (and something else again), they must be distinct. [..] > 2- You said, "A "NIC" can have multiple

Re: [Openvpn-users] Multiple OpenVPN server on one NIC

2023-07-23 Thread Jason Long via Openvpn-users
Hi Jochen, Thank you so much for your reply. I have two more questions: 1- So, both of IP address and Port number must be different? 2- If the IP address is different, then the port can be the same?  Please answer my questions by number. On Sunday, July 23, 2023 at 05:34:30 PM GMT+3:30, J

Re: [Openvpn-users] Multiple OpenVPN server on one NIC

2023-07-23 Thread Jochen Bern
On 23.07.23 15:32, Jason Long via Openvpn-users wrote: 1- If the port number is different, then "server" IP can be the same? > For example, the first server use: port 1194 [...] server 10.8.0.0 255.255.255.0 The second server use: port 1195 [...] server 10.8.0.0 255.255.255.0 Or both of

Re: [Openvpn-users] Multiple OpenVPN server on one NIC

2023-07-23 Thread Jason Long via Openvpn-users
Hi Gert, Thanks again. I have two questions: 1- If the port number is different, then "server" IP can be the same? For example, the first server use: port 1194 proto udp dev tun ca ca.crt cert server.crt key server.key                               dh dh.pem server 10.8.0.0 255.255.255.0 The

Re: [Openvpn-users] Multiple OpenVPN server on one NIC

2023-07-23 Thread Gert Doering
Hi, On Sun, Jul 23, 2023 at 12:30:31PM +, Jason Long wrote: > Thank you so much for your answer. > So, if I want to have multiple OpenVPN server profile on one NIC, then they > must have different port number. Am I right? On one *IP* address, yes. A "NIC" can have multiple IP addresses, so

Re: [Openvpn-users] Multiple OpenVPN server on one NIC

2023-07-23 Thread Jason Long via Openvpn-users
Hi Gert, Thank you so much for your answer. So, if I want to have multiple OpenVPN server profile on one NIC, then they must have different port number. Am I right? On Sunday, July 23, 2023 at 03:51:37 PM GMT+3:30, Gert Doering wrote: Hi, On Sun, Jul 23, 2023 at 09:43:54AM +, Ja

Re: [Openvpn-users] Multiple OpenVPN server on one NIC

2023-07-23 Thread Gert Doering
Hi, On Sun, Jul 23, 2023 at 09:43:54AM +, Jason Long via Openvpn-users wrote: > Is it possible to run multiple OpenVPN server on one NIC? Or each OpenVPN > server profile needs a separate NIC? This is not really an "OpenVPN" question, but more a general TCP-IP question. Server processes nee

[Openvpn-users] Multiple OpenVPN server on one NIC

2023-07-23 Thread Jason Long via Openvpn-users
Hello, Is it possible to run multiple OpenVPN server on one NIC? Or each OpenVPN server profile needs a separate NIC? Thank you. ___ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-u