ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] iptables prerouting postrouting
@ 2013-01-30 13:04 altconf
  2013-01-30 14:15 ` Alexander Volkov
  2013-01-30 14:59 ` "А.Э.Куликовский"
  0 siblings, 2 replies; 4+ messages in thread
From: altconf @ 2013-01-30 13:04 UTC (permalink / raw)
  To: sysadmins

Добрый день!
ALT4
Задача перенаправить через себя на другой внешний адрес трафик.
.......
$IPTABLES -t nat -A PREROUTING -p TCP -s х.х.х.х --dport 3391 -j DNAT 
--to-destination у.у.у.у:3391
$IPTABLES -t nat -A POSTROUTING -s х.х.х.х -d у.у.у.у -o 
$EXTERNAL_MAIN_IFACE -j SNAT --to-source $EXTERNAL_MAIN_ADDRESS
.......
Смотрю tcpdump и вижу что трафик не выходит.
Подскажите что не так делаю?




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

end of thread, other threads:[~2013-01-30 17:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-30 13:04 [Sysadmins] iptables prerouting postrouting altconf
2013-01-30 14:15 ` Alexander Volkov
2013-01-30 17:31   ` altconf
2013-01-30 14:59 ` "А.Э.Куликовский"

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

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


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