Take the 2-minute tour ×

I have a server A that is running OpenVPN server, and a server B connected to it. Then on B I have eth0, the physical interface, and tap0, created by OpenVPN. I want some ip to go with eth0 while others go with tap0. This has been successfully achieved by adding route rules with the 'route' command.

But there are more.

The server B is running a pptpd server with many clients. I want the clients to go with the same rule as described above. But I don't know how to configure it.

I was using iptables rules to redirect packages from pptp subnet ( to eth0 when there is no tap0, and it worked well.


Now I have tap0 and I want some of the packages to go to tap0.

How should I do?

share|improve this question
PPTP connections do not have functionality to push routes to the client, but I'm not 100% sure that's what you're asking about. –  fukawi2 Dec 17 '12 at 5:16

Your Answer



Browse other questions tagged or ask your own question.