nhu wrotehow can i configure the openvpn server to block P2P
Completely blocking P2P might be achieved by only allowing for TCP 443 (https), TCP 80 (http), and UDP 53 (dns) to forward out of the server, whilst blocking all other ports. A more flexible and reasonable approach will be this though:
Source:
https://blog.torproject.org/running-exit-node