How to make clients not be able to see other clients but can connect via RDP to one client on this network.

How to customize and extend your OpenVPN installation.
Post Reply
work92
OpenVpn Newbie
Posts: 1
Joined: Fri Sep 24, 2021 8:53 am

How to make clients not be able to see other clients but can connect via RDP to one client on this network.

Post by work92 » Fri Sep 24, 2021 8:58 am

How to make clients not be able to see other clients but can connect via RDP to one client on this network.

port 1194
proto tcp
dev tun
ca "C:\\Program Files\\OpenVPN\\easy-rsa\\pki\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\easy-rsa\\pki\\issued\\server.crt"
key "C:\\Program Files\\OpenVPN\\easy-rsa\\pki\\private\\server.key" # This file should be kept secret
dh "C:\\Program Files\\OpenVPN\\easy-rsa\\pki\\dh.pem"
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
duplicate-cn
keepalive 10 120
client-to-client
tls-auth "C:\\Program Files\\OpenVPN\\easy-rsa\\pki\\ta.key" 0 # This file is secret
# cipher AES-256-GCM
persist-key
persist-tun
status "C:\\Program Files\\OpenVPN\\log\\status.log"
log "C:\\Program Files\\OpenVPN\\log\\openvpn.log"
verb 4
mute 20
windows-driver wintun

Post Reply