Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can one ensure that PPTP / OpenVPN will not allow clients connected to the tunnels to be able to interact with each others?

I never enabled bridging and enabled the following in iptables

iptables -t nat -A POSTROUTING -s -o eth0 -j MASQUERADE iptables -A FORWARD -i tun0 -o eth0 -j ACCEPT iptables -A FORWARD -i eth0 -o tun0 -j ACCEPT

share|improve this question

As I know on OpenVPN it turned off by default. If you want to enable it you must add client-to-client to openvpn server config. Is applicable when running in routed mode (tun). If you're using bridged mode (tap), there doesn't seem to be an easy method to control client-to-client connections.

With PPTP you could block clients with iptables

# iptables -I FORWARD -s -d -j DROP
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.