ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] iptables & chain
@ 2003-12-21 15:56 Igor
  2003-12-21 16:07 ` Sergey Vlasov
  0 siblings, 1 reply; 2+ messages in thread
From: Igor @ 2003-12-21 15:56 UTC (permalink / raw)
  To: community

Есть некая задача: в локальной сети на каждой машине стоит RADMIN (типа 
vnc).
Хочется сделать скрипт который создаст chain - r_adm в котором будет 
перебрана вся сеть. Пытаюсь сделать chain для того что бы потом было 
легко удалить. Т.е. нужно посмотреть на какую-то локальную машину из 
инета, я запускаю скрипт , а после того как все сделано удалить этот 
chain что бы эти порты не висели. Что делаю не так или есть предложение 
сделать эту задачу как то иначе?1

+ /sbin/iptables -N r_adm
+ /sbin/iptables -A r_adm -p TCP -i eth0 -d 10.98.54.112 --dport 7777 -j 
DNAT --to-destination 10.98.54.17:4432
iptables: Invalid argument
+ /sbin/iptables -A r_adm -p TCP -i eth0 -d 10.98.54.112 --dport 7778 -j 
DNAT --to-destination 10.98.54.18:4432
iptables: Invalid argument
+ /sbin/iptables -t nat -A PREROUTING -j r_adm
iptables v1.2.7a: Couldn't load target 
`r_adm':/usr/lib/iptables/libipt_r_adm.so: cannot open shared object 
file: No such file or directory




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-12-21 16:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-21 15:56 [Comm] iptables & chain Igor
2003-12-21 16:07 ` Sergey Vlasov

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git