Re: [Openvpn-users] OpenVPN multiple connections and multiple NICs

2023-07-24 Thread Leroy Tennison via Openvpn-users
I can't help with question 1.  A significant reason I can't is I'm not understanding your configuration, you're going to have to be far more precise (maybe offer an actual situation) to be helped.  One of our OpenVPN servers is on an Internet-facing firewall, in that case only the ACCEPT rule w

Re: [Openvpn-users] OpenVPN multiple connections and multiple NICs

2023-07-24 Thread Hans via Openvpn-users
From: "Jason Long via Openvpn-users" mailto:openvpn-users@lists.sourceforge.net>> Date: Saturday, 22 July 2023 at 15:06:10 To: "openvpn-users@lists.sourceforge.net" mailto:openvpn-users@lists.sourceforge.net>> Subject: [Openvpn-users] OpenVPN multiple connecti

Re: [Openvpn-users] OpenVPN multiple connections and multiple NICs

2023-07-23 Thread Jason Long via Openvpn-users
Hi Leroy, Thank you so much for your reply. I have two questions and I'm thankful if you answer them: 1- Suppose that two different Internets are connected to your system through LAN, by default, the operating system uses only one of them unless you use  multipath routing. When you use iptables

Re: [Openvpn-users] OpenVPN multiple connections and multiple NICs

2023-07-23 Thread Leroy Tennison via Openvpn-users
I'm a little unclear about your question so hopefully this general reply will help.  OpenVPN's "push" statement can push routes to clients for server-side subnets, the "route" statement can inject routes to client subnets into the server environment and 'iroute' statements can cause OpenVPN cli

Re: [Openvpn-users] OpenVPN multiple connections and multiple NICs

2023-07-23 Thread Jason Long via Openvpn-users
Hello, Thank you so much for your reply. This is normal in Linux. When you have two NAT NICs, just one of them is used to connect to the Internet. You must write routing tables. Does OpenVPN do this routing itself?  On Sunday, July 23, 2023 at 08:34:01 AM GMT+3:30, Leroy Tennison via Openv

Re: [Openvpn-users] OpenVPN multiple connections and multiple NICs

2023-07-22 Thread Leroy Tennison via Openvpn-users
Without seeing both conf files, I can only guess at the issue but, did you use different "local" directives in each conf file? On Saturday, July 22, 2023 at 08:02:17 AM CDT, Jason Long via Openvpn-users wrote: Hello, My OpenVPN server has two NICs and both of them are connected to the

[Openvpn-users] OpenVPN multiple connections and multiple NICs

2023-07-22 Thread Jason Long via Openvpn-users
Hello, My OpenVPN server has two NICs and both of them are connected to the Internet, but Linux only activates one of them at the same time. For example: # ping -I enp0s3 google.com PING google.com (216.239.38.120) from 10.0.2.15 enp0s3: 56(84) bytes of data. 64 bytes from any-in-2678.1e100.net (