Re: [Openvpn-users] A question that has the potential to become a useful article

2023-08-20 Thread Jason Long via Openvpn-users
>Hi, >On Sun, Aug 20, 2023 at 01:14:55PM +, Jason Long via Openvpn-users wrote: > I googeled my question, but unfortunately, I could not find a correct and > complete article about it and I'm thankful if the experts here, write the > answer step by step and in >summary. > > Suppose you have

[Openvpn-users] ccd-exclusive does not work

2023-08-20 Thread Jason Long via Openvpn-users
Hello, My server and client IP addresses are in range 10.0.2.X. I created a CCD directory and create a file inside the folder. I wrote the below lines in this file: iroute 10.0.2.0 255.255.255.0 Then, I opened the server.conf file and wrote these lines in it: client-config-dir CCD ccd-exclusiv

Re: [Openvpn-users] A question that has the potential to become a useful article

2023-08-20 Thread Gert Doering
Hi, On Sun, Aug 20, 2023 at 01:14:55PM +, Jason Long via Openvpn-users wrote: > I googeled my question, but unfortunately, I could not find a correct and > complete article about it and I'm thankful if the experts here, write the > answer step by step and in summary. > > Suppose you have an

[Openvpn-users] A question that has the potential to become a useful article

2023-08-20 Thread Jason Long via Openvpn-users
Hello, I googeled my question, but unfortunately, I could not find a correct and complete article about it and I'm thankful if the experts here, write the answer step by step and in summary. Suppose you have an OpenVPN server. Now, you want to set two public IP addresses on it. Your public IP a

Re: [Openvpn-users] Unable to redirect IPv4 default gateway -- Cannot read current default gateway from system

2023-08-20 Thread Gert Doering
Hi On Sun, Aug 20, 2023 at 12:30:16PM +, Jason Long wrote: > My question is that, suppose you want to set multiple public IP addresses on > the OpenVPN server. How do you do it? This depends on where your server is, and what level of access you have to public IP addresses. My server is in a

Re: [Openvpn-users] Unable to redirect IPv4 default gateway -- Cannot read current default gateway from system

2023-08-20 Thread Jason Long via Openvpn-users
>Hi, >On Sun, Aug 20, 2023 at 09:49:25AM +, Jason Long wrote: > >On Sat, Aug 19, 2023 at 02:18:37PM +, Jason Long via Openvpn-users wrote: > > Sat Aug 19 18:23:53 2023 NOTE: unable to redirect IPv4 default gateway -- > > Cannot read current default gateway from system > > >If client and

Re: [Openvpn-users] Unable to redirect IPv4 default gateway -- Cannot read current default gateway from system

2023-08-20 Thread Gert Doering
Hi, On Sun, Aug 20, 2023 at 09:49:25AM +, Jason Long wrote: > >On Sat, Aug 19, 2023 at 02:18:37PM +, Jason Long via Openvpn-users wrote: > > Sat Aug 19 18:23:53 2023 NOTE: unable to redirect IPv4 default gateway -- > > Cannot read current default gateway from system > > >If client and se

Re: [Openvpn-users] Unable to redirect IPv4 default gateway -- Cannot read current default gateway from system

2023-08-20 Thread Jason Long via Openvpn-users
>Hi, >I don't know what mail client you are using, but the signature of the >author of the email you are replying to should be removed before writing >any text. >This said, check my reply below. >On 20/08/2023 11:49, Jason Long via Openvpn-users wrote: > Hi, > It didn't matter and I got the e

Re: [Openvpn-users] Unable to redirect IPv4 default gateway -- Cannot read current default gateway from system

2023-08-20 Thread Antonio Quartulli
Hi, I don't know what mail client you are using, but the signature of the author of the email you are replying to should be removed before writing any text. This said, check my reply below. On 20/08/2023 11:49, Jason Long via Openvpn-users wrote: Hi, It didn't matter and I got the error. wh

Re: [Openvpn-users] Unable to redirect IPv4 default gateway -- Cannot read current default gateway from system

2023-08-20 Thread Jason Long via Openvpn-users
>Hi, >On Sat, Aug 19, 2023 at 02:18:37PM +, Jason Long via Openvpn-users wrote: > Sat Aug 19 18:23:53 2023 NOTE: unable to redirect IPv4 default gateway -- > Cannot read current default gateway from system >If client and server are in the same network, and the client has no default >route,

Re: [Openvpn-users] Unable to redirect IPv4 default gateway -- Cannot read current default gateway from system

2023-08-20 Thread Gert Doering
Hi, On Sat, Aug 19, 2023 at 02:18:37PM +, Jason Long via Openvpn-users wrote: > Sat Aug 19 18:23:53 2023 NOTE: unable to redirect IPv4 default gateway -- > Cannot read current default gateway from system If client and server are in the same network, and the client has no default route, the n