ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] печать через инет
@ 2004-11-23 10:27 Oleg Pan
  2004-11-23 10:54 ` Oleg Pan
  2004-11-24  4:39 ` Sergey Golovin
  0 siblings, 2 replies; 3+ messages in thread
From: Oleg Pan @ 2004-11-23 10:27 UTC (permalink / raw)
  To: community

Hello community,


Есть 2 офиса
связаны через инет

делаю на одном конце:

$IPTABLES -A FORWARD -p tcp -i $LAN2_IFACE -d 172.13.37.249/255.255.255.255 -m multiport --dports 515,3389  -j ACCEPT
$IPTABLES -t nat -A PREROUTING --dst 10.1.50.10 -p tcp --dport 3389 -j DNAT --to-destination 172.13.37.249
$IPTABLES -t nat -A PREROUTING --dst 10.1.50.10 -p tcp --dport 515 -j DNAT --to-destination 172.13.37.249

на другом:

$IPTABLES -A FORWARD -p tcp -i $INET_IFACE -d 10.1.50.0/255.255.255.0 -m multiport --dports 515,3389  -j ACCEPT
$IPTABLES -t nat -A PREROUTING --dst 172.13.37.249 -p tcp --dport 3389 -j DNAT --to-destination 10.1.50.2
$IPTABLES -t nat -A PREROUTING --dst 172.13.37.249 -p tcp --dport 515 -j DNAT --to-destination 10.1.50.231


клиент служб(порт 3389) терминалов работает
печать (порт 515) не работает
печать внутри офисов на принтер по 515 порту работает

к принтеру подключен принтсервер surecom, который и обеспечивает 515
порт



-- 
Best regards,
 Oleg                          mailto:wacom@narod.ru



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

end of thread, other threads:[~2004-11-24  4:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-23 10:27 [Comm] печать через инет Oleg Pan
2004-11-23 10:54 ` Oleg Pan
2004-11-24  4:39 ` Sergey Golovin

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