I've a server connected as a client via openvpn, which result in another network interface tap0.

The default network interface is en1.

Now I want to redirect all traffic from and to port 80 via en1 no matter of the server is connected to openvpn or not.

I've tested ipfw divert and ipfw fwd but can't come up with a correct solution.

link|improve this question
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.