Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.
Client -ssh-> Server --> Internet

Normally I initiate an ssh tunnel with: ssh -D 1337 admin@nas

On the server I have two interfaces: eth1 and ppp0. Right now it uses eth1 when tunneling, but I'd like to use ppp0 instead.

How do I do this?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

You're looking for -b. But this is pointless unless ppp0 already has a route to nas.

share|improve this answer
add comment

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.