From: Oleg Pan <wacom@narod.ru> To: community@altlinux.ru Subject: [Comm] печать через инет Date: Tue, 23 Nov 2004 13:27:00 +0300 Message-ID: <1523558887.20041123132700@narod.ru> (raw) 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
next reply other threads:[~2004-11-23 10:27 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-11-23 10:27 Oleg Pan [this message] 2004-11-23 10:54 ` Oleg Pan 2004-11-24 4:39 ` Sergey Golovin
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=1523558887.20041123132700@narod.ru \ --to=wacom@narod.ru \ --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