Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: iptables: User
[no subject]

Index | Next | Previous | View Flat

huelsegge at gmx

Sep 15, 2007, 4:15 PM

Views: 5960
[no subject]


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) > vroot.domain: [udp sum
ok] 62654+ PTR? (43)
00:28:00.515190 IP (tos 0x0, ttl 56, id 0, offset 0, flags [DF], proto:
UDP (17), length: 127) vroot.domain > 62654 NXDomain
q: PTR? 0/1/0 ns: 71.195.in-addr.arpa. (99)
00:28:01.459744 arp who-has tell
00:28:02.459844 arp who-has tell

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

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

Subject User Time
[no subject] huelsegge at gmx Sep 15, 2007, 4:15 PM
    Re: Port-based routing with OpenVPN pascal.mail at plouf Sep 16, 2007, 4:05 AM
        Re: Port-based routing with OpenVPN huelsegge at gmx Sep 19, 2007, 2:21 PM

  Index | Next | Previous | View Flat

Interested in having your list archived? Contact Gossamer Threads
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.