From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eduardo Costa Subject: using libipq to create a router Date: Tue, 23 Sep 2003 22:25:10 +0000 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <3F70C846.3090201@tpk.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: To: netfilter-devel@lists.netfilter.org Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org Hi, there ! I want to create a little program to route connections with libipq and nat table. Something like that: client connects with master server, but it will only route this connection to another computer. Pretty simple, but I need this info to create something bigger. I tried to change the IP header packet, but somehow it only worked with ICMP. I guess it's a problem with nat/conntrack, but there's no example mixing conntrack and libipq. BTW, I don't want to make a kernel module and a libipt_XXX.so, because I think it's a solution bigger than the problem. Thanks in advance, Eduardo Costa