ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Shawkat Nizamov <shawkat@samitc.uzsci.net>
To: community@altlinux.ru
Subject: [Comm] Port 137 packets out ?
Date: Wed, 29 Oct 2003 11:05:49 +0500
Message-ID: <200310291105.49116.shawkat@samitc.uzsci.net> (raw)

Запускаю iptraf и на инетовском eth1 наблюдаю кучу пакетов 

UDP (78 bytes) from 192.168.0.182:1025 to (разные внешние IP):137 on eth1.

Как такое может быть? Пакет с _внутренним_адресом_ проброшен на 
_внешний_интерфейс_ ? В нате прописан маскарад, но не на этот адрес. 

Кто-нибудь подскажет, какую команду iptables нужно запустить ? 


Вот выдержка касательно iptables из rc.local 

/sbin/iptables -t nat -p all -s 192.168.0.254 -d ! 192.168.0.1/24 -A 
POSTROUTING -j SNAT --to-source 194.67.216.221

/sbin/iptables -t nat -p all -s 192.168.0.252 -d ! 192.168.0.1/24 -A 
POSTROUTING -j SNAT --to-source 194.67.216.221

/sbin/iptables -t nat -p all -s 192.168.0.239 -d ! 192.168.0.1/24 -A 
POSTROUTING -j SNAT --to-source 194.67.216.221

/sbin/iptables -t nat -p all -s 172.16.200.240 -d ! 172.16.0.2/16 -A 
POSTROUTING -j SNAT --to-source 194.67.216.221

/sbin/iptables -t nat -p all -s 172.16.200.241 -d ! 172.16.0.2/16 -A 
POSTROUTING -j SNAT --to-source 194.67.216.221

sysctl -w net.ipv4.ip_forward=1


             reply	other threads:[~2003-10-29  6:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-29  6:05 Shawkat Nizamov [this message]
2003-10-30 15:44 ` Borovoy M.
2003-10-30 15:59   ` Borovoy M.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200310291105.49116.shawkat@samitc.uzsci.net \
    --to=shawkat@samitc.uzsci.net \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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