Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "\"Mario Hülsegge\"" <huelsegge@gmx.de>
To: netfilter@lists.netfilter.org
Subject: (unknown)
Date: Sun, 16 Sep 2007 01:15:45 +0200	[thread overview]
Message-ID: <20070915231545.224150@gmx.net> (raw)

hi,

i am trying to set up routing of all outgoing http-requests on my 
workstation through my openvpn gateway (tun0). the web told me to do it:

iptables -t mangle -A OUTPUT -p tcp --dport 80 -j MARK --set-mark 4
ip rule add fwmark 4 lookup 3
ip route add default dev tun0 table 3


the problem is that it does not work. tcpdump gives me:

00:28:00.461045 IP (tos 0x0, ttl  64, id 28447, offset 0, flags [DF], 
proto: UDP (17), length: 71) 192.168.0.125.1049 > vroot.domain: [udp sum 
ok]  62654+ PTR? 67.11.71.195.in-addr.arpa. (43)
00:28:00.515190 IP (tos 0x0, ttl  56, id 0, offset 0, flags [DF], proto: 
UDP (17), length: 127) vroot.domain > 192.168.0.125.1049:  62654 NXDomain 
q: PTR? 67.11.71.195.in-addr.arpa. 0/1/0 ns: 71.195.in-addr.arpa. (99)
00:28:01.459744 arp who-has 195.71.11.67 tell 192.168.0.125
00:28:02.459844 arp who-has 195.71.11.67 tell 192.168.0.125


the arp-requests dont seem to be right, any suggestions?

Mario
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger


             reply	other threads:[~2007-09-15 23:15 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-15 23:15 "Mario Hülsegge" [this message]
2007-09-16 11:05 ` Port-based routing with OpenVPN Pascal Hambourg
2007-09-19 21:38   ` Mario Hülsegge
2007-09-25 22:14   ` Mario Hülsegge
2007-09-26 10:33     ` Pascal Hambourg
2007-09-26 12:49       ` Mario Hülsegge
2007-09-26 14:10         ` Pascal Hambourg
  -- strict thread matches above, loose matches on Subject: below --
2007-09-21 22:33 (unknown), David Boulding
2007-11-15  5:24 (unknown), 李伟华
2007-12-11 18:39 (unknown) Ryan Rodriguez
2008-01-03 21:57 (unknown), Joe Ruddy
2008-01-05  5:34 (unknown), Bikash Bhattarai
2008-01-11 12:31 (unknown), Videal ,)
2008-03-07  8:06 (unknown) Alberto Díez
2008-07-27  1:11 (unknown), David Boulding
     [not found] <S1752389AbYJDKwq/20081004105246Z+121@vger.kernel.org>
2008-10-04 11:20 ` (unknown) Sebastian Seemann
2008-10-31  7:14 (unknown), Jianqing Zhang
2008-12-09 12:14 (unknown), Martin Spinassi
2009-01-02 19:29 (unknown), Jorge Bastos - Decimal
2011-11-07 14:23 (unknown) Tarak Ranjan
2017-08-11 22:09 (unknown), Chris

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=20070915231545.224150@gmx.net \
    --to=huelsegge@gmx.de \
    --cc=netfilter@lists.netfilter.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox