Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have my normal eth0 interface and an setup ppp0 interface, the problem I have is that I want to exclusively route all HTTP/HTTPS traffic through the ppp0 interface and everything else through the default eth0. I tried adding a route rule route add default dev ppp0 but of course this will route everything through the ppp0 interface, I might need iptables but I have no idea how.

share|improve this question

1 Answer 1

Assuming that http traffic will be limited to port 80 you could use the solution here

Sorry for the poor quality of my answer. Phone is not easy to master.

share|improve this answer

Your Answer

 
discard

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.