From: james <commercials24@yahoo.de>
To: netfilter@vger.kernel.org
Subject: tc redirecting vpn traffic, ifb0 output not readable?
Date: Sun, 15 Sep 2013 22:59:09 +0200 [thread overview]
Message-ID: <52361F9D.30506@yahoo.de> (raw)
hi,
when i use these commands to redirect the output from tun0 to ifb0:
dev=tun0; indev=ifb0;
tc qdisc add dev $dev handle ffff: ingress
tc filter add dev $dev parent ffff: protocol ip prio 1 u32 match u32 0 0
action \
mirred egress redirect dev $indev
i get this tcpdump output:
tcpdump -i ifb0
tcpdump: WARNING: ifb0: no IPv4 address assigned
listening on ifb0, link-type EN10MB (Ethernet), capture size 65535 bytes
22:44:38.333033 00:00:40:01:43:58 (oui Unknown) > 45:00:00:54:23:22 (oui
Unknown), ethertype Unknown (0x0a08), length 84:
0x0000: 000a 0a08 0016 0000 2e57 39db 0009 361c .........W9...6.
0x0010: 3652 3c53 0400 0809 0a0b 0c0d 0e0f 1011 6R<S............
0x0020: 1213 1415 1617 1819 1a1b 1c1d 1e1f 2021 ...............!
0x0030: 2223 2425 2627 2829 2a2b 2c2d 2e2f 3031 "#$%&'()*+,-./01
0x0040: 3233 3435 3637 234567
22:44:39.333253 00:00:40:01:43:57 (oui Unknown) > 45:00:00:54:23:23 (oui
Unknown), ethertype Unknown (0x0a08), length 84:
0x0000: 000a 0a08 0016 0000 3e52 39db 000a 371c ........>R9...7.
0x0010: 3652 2b57 0400 0809 0a0b 0c0d 0e0f 1011 6R+W............
0x0020: 1213 1415 1617 1819 1a1b 1c1d 1e1f 2021 ...............!
0x0030: 2223 2425 2627 2829 2a2b 2c2d 2e2f 3031 "#$%&'()*+,-./01
0x0040: 3233 3435 3637 234567
why dont i get the icmp packets that went into the openvpn tunnel?
and what do i get instead?
the target is to manage all incoming traffic, but if use eth0 (the real
physical device) as root
all that goes over the vpn connection is already encrypted and
encapsulated by openvpn.
so its all one big blob with dst port 1194.
is there a better way to manage the traffic that goes to the internet
and the one that goes trough a vpn at one bottleneck?
next reply other threads:[~2013-09-15 20:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-15 20:59 james [this message]
2013-09-19 11:05 ` tc redirecting vpn traffic, ifb0 output not readable? C. L. Martinez
2013-09-20 13:06 ` steven
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=52361F9D.30506@yahoo.de \
--to=commercials24@yahoo.de \
--cc=netfilter@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.