FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
169 views 0 comments
by anonymous

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 anonymous
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