Nyr / openvpn-install

OpenVPN road warrior installer for Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS and Fedora
MIT License
18.66k stars 4.81k forks source link

disable client to client traffic #1078

Closed Ahshawky01 closed 7 months ago

Ahshawky01 commented 7 months ago

thanks too much it is very smart script

i need to make clients dont talk to each other

Nyr commented 7 months ago

If you are using Debian/Ubuntu, edit /etc/systemd/system/openvpn-iptables.service and remove the following strings: ! -d 10.8.0.0/24 ! -d fddd:1194:1194:1194::/64

Ahshawky01 commented 7 months ago
Screenshot 2023-12-01 201020

i didnot have these string

Nyr commented 7 months ago

Yes, you do. Remove the string from the file.

Ahshawky01 commented 7 months ago

thanks to your valuable time but i remove string and still clients can be able to ping each other

i tried to remove the file and restart the openvpn-server worked but still the same issue

details : ubuntu firewall disabled