From: Jettero Heller <lartc@voltar-confed.org>
To: lartc@vger.kernel.org
Subject: [LARTC] ppp0/ppp1 ssh
Date: Sat, 28 Apr 2001 17:53:00 +0000 [thread overview]
Message-ID: <marc-lartc-98848046611913@msgid-missing> (raw)
This seems so simple I can't believe it doesn't work yet.
I have two modems connected to two ISPs. I route everything
through the "fast" one with:
ip route default via xxx.xxx.xxx.xxx dev ppp0
Then to the machine I regularly tf and ssh, I add this:
ip route tf.tf.tf.tf via xxx.xxx.xxx.xxx dev ppp1
ip route ssh.ssh.ssh.ssh via xxx.xxx.xxx.xxx dev ppp1
The reason I joined this list is that I'd rather do
something like this, but I can't get it to work right.
ip route add default via xxx.xxx.xxx.xxx dev ppp1 tos 0x10
for i in 22 23 8000; do
iptables -t mangle -A PREROUTING -p tcp
--dport $i -j TOS --set-tos 0x10; done
I would have figured everything for port 22, 23 and 8000
would go out ppp1 and come back ppp1, but I was rather
suprised to find that _all_ my traffic goes out ppp0, but
the stuff I tagged 0x10 comes back in ppp1?!?
What am I missing?
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
next reply other threads:[~2001-04-28 17:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-28 17:53 Jettero Heller [this message]
2001-04-28 19:45 ` [LARTC] ppp0/ppp1 ssh Ramin Alidousti
2001-04-28 21:57 ` Ramin Alidousti
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-98848046611913@msgid-missing \
--to=lartc@voltar-confed.org \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.