I have set up two VPN tunnels on a server. You shouldn't get from the network behind one tunnel into the network behind the other tunnel. To do this, the following entry in the iptables was previously required:
Code: Select all
iptables -I FORWARD -s 10.8.0.0/24 -d 10.8.1.0/24 -j DROP
iptables -I FORWARD -s 10.8.0.0/24 -d 192.168.178.0/24 -j DROP
Code: Select all
iptables -I FORWARD -s 10.8.0.0/24 -p tcp --dport 15003 -d 192.168.178.24 -j ACCEPT
Here some information about OpenVPN:
Code: Select all
openvpn --version
OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Jan 9 2019
library versions: OpenSSL 1.0.2g 1 Mar 2016, LZO 2.08