10936 questions

13039 answers

20337 comments

27543 members

0 votes
41 views 0 comments
by

Hello Teltonica team,

I need help with a special "controlled" client to client solution.

I have an OpenVPN server at RUT240 with many clients also at RUT240 devices. The servers virtual network IP is 10.0.0.0. The private client network are 192.168.1.0 at the most devices (equal facilities). To access the clients LAN devices from Server I work with port forwarding. Everything works fine, even client to client connection with port forwarding. 

Now I want to seperate the clients. One client should do client to client (road warrior). An other special client (client 05) should not see all clients, only one selected client (client 04). See figure below.

Can you pleas send me an example configuration?

Thanks a lot.

1 Answer

0 votes
by
Hi,

similar questions are well documented in the OpenVPN Wiki https://community.openvpn.net/openvpn/wiki/HOWTO#Configuringclient-specificrulesandaccesspolicies

There are examples of iptables commands to restrict access.

Best regards, Anton