Re: [Netsplitter-question] netsplitter dies: too many files open
Brought to you by:
fabioyy
|
From: Fabio Y. Y. <fa...@ho...> - 2003-03-03 19:25:59
|
>Hi > >Firstly, by the way, I can't see the mailing list archives? >The link: http://sourceforge.net/mailarchive/forum.php?forum=netsplitter-question >doesn't seem work. > >Secondly, I can't get netfilter to work, yet it is JUST what i need. >Maybe someone could help me? > >I compiled and installed it. I run it at the command line as >"netsplitter -v 1" > >I ran: > iptables -t nat -A OUTPUT -j DNAT -p tcp --dport 7777 --to-destination 196.7.14.3:5122 > Don' t forget the --sport command, they are required for LOCAL nat. In README: ---------------------------------------------------------------------------------------------------------------------------------------------------- In your iptables rules: iptables -t nat -A OUTPUT -p tcp --sport 1024:4999 -j DNAT --to-destination 192 .168.1.1:5122 where 1024-4999 are the values in /proc/sys/net/ipv4/ip_local_port_range. and 192.168.1.1 is the netsplitter address. ---------------------------------------------------------------------------------------------------------------------------------------------------- |