Access to a PC in an other tunnel - dosen't work
Posted: Thu Apr 08, 2021 6:42 pm
Hi,
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:
A computer that is located behind tunnel number 1 should, however, also be accessible on a certain port from the network behind tunnel number 2. For this I had set up the following entry in the iptables:
So far it has worked very well. For some time now, that doesn't seem to work anymore. The only change that I can understand is an update that was performed on the server. I checked the settings, they are the same as before. Could it be that the update has changed something that prevents this option or ensures that it has to be set up differently?
Here some information about OpenVPN:
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