[LARTC] routing locally created marked packets

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have a simple question regarding routing of locally created packets.

I have set up netfilter 'mark' rules for all locally created IP packets with
destination port number 25 with the following:

iptables -A OUTPUT -t mangle -p tcp --dport 25 -j MARK --set-mark 1

I wish to set up specific routing entries for each locally created marked
packet. I have tried this using iproute2, with no success.

My question is do locally created packets initiate routing table lookups, if
not how can I achieve routing for locally created packets.

I've been trying for a week to do IP port forwarding on locally created
packets in this way.


 any help would be great.

ThanKs!
Greg.




[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux