RE: A processing unit of IP packet

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

 



Title: RE: A processing unit of IP packet

Marking packets is easy and already implemented in linux 2.2.x. With ipchains you can mark a packet with any criteria, for example:

ipchains -A input -m 0xff -p tcp --dport 80

Will mark inbound tcp packets destined to port 80 with the number 0xff.

If I understand correctly, you want to route those packets to a host via a IP tunnel. You can do this by creating a tunnel as a interface and routing all marked traffic to that interface with iproute2 (look in its documentation, I donīt remember how you route according to ipchains mark, but Iīm sure you can).


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux