Re: [Openvpn-users] A question about the local statement

2023-08-21 Thread Hans via Openvpn-users
From: "Bruno Tréguier via Openvpn-users" mailto:openvpn-users@lists.sourceforge.net>> Date: Monday, 14 August 2023 at 17:01:19 To: "openvpn-users@lists.sourceforge.net" mailto:openvpn-users@lists.sourceforge.net>> Subject: Re: [Openvpn-users] A question about

Re: [Openvpn-users] A question about the local statement

2023-08-20 Thread Jason Long via Openvpn-users
>Hi, On Mon, Aug 14, 2023 at 09:19:44PM +, Jason Long via Openvpn-users wrote: > Hi Bruno,Thank you so much for your reply.Both (Server and Client) can ping > each other and without the local statement my client can connect to the > OpenVPN server.My >client connecting to the server via an

Re: [Openvpn-users] A question about the local statement

2023-08-15 Thread Gert Doering
Hi, On Mon, Aug 14, 2023 at 09:19:44PM +, Jason Long via Openvpn-users wrote: > Hi Bruno,Thank you so much for your reply.Both (Server and Client) can ping > each other and without the local statement my client can connect to the > OpenVPN server.My client connecting to the server via an

Re: [Openvpn-users] A question about the local statement

2023-08-15 Thread Gert Doering
Hi, On Mon, Aug 14, 2023 at 09:21:43PM +, Jason Long wrote: > If routing is set up properly (DHCP, default gateway, etc), packets will > arrive at the server and things will work. [..] > > Hi Gert,Thank you so much for your reply.I guess that I must enable some > statements about the DHCP

Re: [Openvpn-users] A question about the local statement

2023-08-14 Thread Bruno Tréguier via Openvpn-users
Le 14/08/2023 à 23:19, Jason Long a écrit : Hi Bruno, Thank you so much for your reply. Both (Server and Client) can ping each other and without the local statement my client can connect to the OpenVPN server. My client connecting to the server via an internal network:

Re: [Openvpn-users] A question about the local statement

2023-08-14 Thread Jason Long via Openvpn-users
On Mon, Aug 14, 2023 at 8:22 PM, Gert Doering wrote: Hi, On Mon, Aug 14, 2023 at 01:59:32PM +, Jason Long wrote: > But I am sure that in a real environment such a scenario can also exist. > Consider an internal network where users connect to an internal OpenVPN > server and this server

Re: [Openvpn-users] A question about the local statement

2023-08-14 Thread Jason Long via Openvpn-users
On Mon, Aug 14, 2023 at 6:25 PM, Bruno Tréguier via Openvpn-users wrote: Hello, Le 14/08/2023 à 15:59, Jason Long via Openvpn-users a écrit : > Hi, > Thank you so much. > But I am sure that in a real environment such a scenario can also exist. > Consider an internal network where users connect

Re: [Openvpn-users] A question about the local statement

2023-08-14 Thread Gert Doering
Hi, On Mon, Aug 14, 2023 at 01:59:32PM +, Jason Long wrote: > But I am sure that in a real environment such a scenario can also exist. > Consider an internal network where users connect to an internal OpenVPN > server and this server has several NICs with different IP addresses that are >

Re: [Openvpn-users] A question about the local statement

2023-08-14 Thread Bruno Tréguier via Openvpn-users
Hello, Le 14/08/2023 à 15:59, Jason Long via Openvpn-users a écrit : Hi, Thank you so much. But I am sure that in a real environment such a scenario can also exist. Consider an internal network where users connect to an internal OpenVPN server and this server has several NICs with different IP

Re: [Openvpn-users] A question about the local statement

2023-08-14 Thread Jason Long via Openvpn-users
Hi, On Mon, Aug 14, 2023 at 10:51:41AM +, Jason Long wrote: > So, my iptables rules are OK and my problem is just my test environment. > If someone really has such an environment, then what is the solution? Build a proper test environment...  whatever you have at hand, either wire an OpenWRT

Re: [Openvpn-users] A question about the local statement

2023-08-14 Thread tincantech via Openvpn-users
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, Sent with Proton Mail secure email. --- Original Message --- On Monday, August 14th, 2023 at 11:51, Jason Long wrote: > Hi, > > On Mon, Aug 14, 2023 at 10:13:48AM +, Jason Long wrote: > > If someone really has such an

Re: [Openvpn-users] A question about the local statement

2023-08-14 Thread Gert Doering
Hi, On Mon, Aug 14, 2023 at 10:51:41AM +, Jason Long wrote: > So, my iptables rules are OK and my problem is just my test environment. > If someone really has such an environment, then what is the solution? Build a proper test environment... whatever you have at hand, either wire an

Re: [Openvpn-users] A question about the local statement

2023-08-14 Thread Jason Long via Openvpn-users
Hi, On Mon, Aug 14, 2023 at 10:13:48AM +, Jason Long wrote: > And because my client does not have direct access to IP "20.1.1.20", then it > showed me that error. If my client connected to the OpenVPN server directly, > then I should not have such a problem. Am I right? >You need to get

Re: [Openvpn-users] A question about the local statement

2023-08-14 Thread Gert Doering
Hi, On Mon, Aug 14, 2023 at 10:13:48AM +, Jason Long wrote: > And because my client does not have direct access to IP "20.1.1.20", then it > showed me that error. If my client connected to the OpenVPN server directly, > then I should not have such a problem. Am I right? You need to get

Re: [Openvpn-users] A question about the local statement

2023-08-14 Thread Gert Doering
Hi, On Mon, Aug 14, 2023 at 08:23:51AM +, Jason Long wrote: > Mon Aug 14 12:52:03 2023 read UDPv4: Connection reset by peer (WSAECONNRESET) > (fd=ec,code=10054) "connection reset by peer" can mean a few things - "the server process is not running", "there is an iptables rule that is not

Re: [Openvpn-users] A question about the local statement

2023-08-14 Thread Jason Long via Openvpn-users
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, Sent with Proton Mail secure email. --- Original Message --- On Monday, August 14th, 2023 at 09:23, Jason Long via Openvpn-users wrote: > > Mon Aug 14 12:52:03 2023 read UDPv4: Connection reset by peer (WSAECONNRESET) >

Re: [Openvpn-users] A question about the local statement

2023-08-14 Thread tincantech via Openvpn-users
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, Sent with Proton Mail secure email. --- Original Message --- On Monday, August 14th, 2023 at 09:23, Jason Long via Openvpn-users wrote: > > Mon Aug 14 12:52:03 2023 read UDPv4: Connection reset by peer (WSAECONNRESET) >

Re: [Openvpn-users] A question about the local statement

2023-08-14 Thread Jason Long via Openvpn-users
Hi, On Mon, Aug 14, 2023 at 06:33:52AM +, Jason Long wrote: > Why without the local statement my OpenVPN worked? As I explained weeks ago, the combination of "port" + "local IP" needs to be unique.  So if you have only one OpenVPN process listening on one port, you do not need to force the

Re: [Openvpn-users] A question about the local statement

2023-08-14 Thread Gert Doering
Hi, On Mon, Aug 14, 2023 at 06:33:52AM +, Jason Long wrote: > Why without the local statement my OpenVPN worked? As I explained weeks ago, the combination of "port" + "local IP" needs to be unique. So if you have only one OpenVPN process listening on one port, you do not need to force the

Re: [Openvpn-users] A question about the local statement

2023-08-14 Thread Jason Long via Openvpn-users
Hi, On Sun, Aug 13, 2023 at 08:55:21PM +, Jason Long via Openvpn-users wrote: > Hello,Is the local statement only for physical NICs or does it work for > virtual NICs as well? As I wrote like 2 weeks ago, this is *all* about IP addresses, not about NICs. >As a consequence, it does not

Re: [Openvpn-users] A question about the local statement

2023-08-13 Thread Gert Doering
Hi, On Sun, Aug 13, 2023 at 08:55:21PM +, Jason Long via Openvpn-users wrote: > Hello,Is the local statement only for physical NICs or does it work for > virtual NICs as well? As I wrote like 2 weeks ago, this is *all* about IP addresses, not about NICs. As a consequence, it does not

[Openvpn-users] A question about the local statement

2023-08-13 Thread Jason Long via Openvpn-users
Hello,Is the local statement only for physical NICs or does it work for virtual NICs as well? Thank you.___ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users