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

* Re: [Comm] печать через инет
  2004-11-23 10:27 [Comm] печать через инет Oleg Pan
@ 2004-11-23 10:54 ` Oleg Pan
  2004-11-24  4:39 ` Sergey Golovin
  1 sibling, 0 replies; 3+ messages in thread
From: Oleg Pan @ 2004-11-23 10:54 UTC (permalink / raw)
  To: Oleg Pan

Hello Oleg,

Tuesday, November 23, 2004, 1:27:00 PM, you wrote:

netstat -n

Активные подключения
  TCP    10.1.1.50:1123         10.1.1.10:515          SYN_SENT

  И так висит


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



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

* Re: [Comm] печать через инет
  2004-11-23 10:27 [Comm] печать через инет Oleg Pan
  2004-11-23 10:54 ` Oleg Pan
@ 2004-11-24  4:39 ` Sergey Golovin
  1 sibling, 0 replies; 3+ messages in thread
From: Sergey Golovin @ 2004-11-24  4:39 UTC (permalink / raw)
  To: community

* Oleg Pan <wacom@narod.ru> [23 Nov Tue 13:27]
> Есть 2 офиса
> связаны через инет
>
....
> 
> клиент служб(порт 3389) терминалов работает
> печать (порт 515) не работает
> печать внутри офисов на принтер по 515 порту работает
> 
> к принтеру подключен принтсервер surecom, который и обеспечивает 515
> порт

предположения:
1) surecom не имеет того маршрута, который есть у терминалки;
2) 515 порт не tcp, а udp.

-- 
Sergey Golovin


^ 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