ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] как порт перекинуть ?
@ 2005-10-10 13:23 Vitaly Gorshkov
  2005-10-10 13:28 ` ABATAPA
  2005-10-10 14:15 ` Anton Gorlov
  0 siblings, 2 replies; 4+ messages in thread
From: Vitaly Gorshkov @ 2005-10-10 13:23 UTC (permalink / raw)
  To: community

Есть АльМастер 2.4
нужно порт перекинуть с инетовского ифейса внутрь сети:
на Дебиане это так было сделано:

/etc/xinetd.d/portmp
service PortMP
{
#       disable = yes
#       type            = INTERNAL
#       id              = time-stream
        socket_type     = stream
        protocol        = tcp
        user            = root
        wait            = no

        bind = ххх.ххх.ххх.ххх
        port = 3389
        redirect = 172.16.0.190 3389
}

а как на Альте?
посоветуйте хау ту.


-- 
С уважением,
 Vitaly                          mailto:vita55555@mail.ru
icq: 138491970




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

* Re: [Comm] как порт перекинуть ?
  2005-10-10 13:23 [Comm] как порт перекинуть ? Vitaly Gorshkov
@ 2005-10-10 13:28 ` ABATAPA
  2005-10-10 14:15 ` Anton Gorlov
  1 sibling, 0 replies; 4+ messages in thread
From: ABATAPA @ 2005-10-10 13:28 UTC (permalink / raw)
  To: Vitaly Gorshkov, ALT Linux Community

Понедельник 10 Октябрь 2005 17:23, Vitaly Gorshkov написал:
> а как на Альте?
> посоветуйте хау ту.
Не только для ALT:
"Linux Advanced Routing & Traffic Control"
http://lartc.org/
-- 
ABATAPA


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

* Re: [Comm] как порт перекинуть ?
  2005-10-10 13:23 [Comm] как порт перекинуть ? Vitaly Gorshkov
  2005-10-10 13:28 ` ABATAPA
@ 2005-10-10 14:15 ` Anton Gorlov
  2005-10-10 15:23   ` Re[2]: " Vitaly Gorshkov
  1 sibling, 1 reply; 4+ messages in thread
From: Anton Gorlov @ 2005-10-10 14:15 UTC (permalink / raw)
  To: Vitaly Gorshkov, ALT Linux Community

Vitaly Gorshkov пишет:
> Есть АльМастер 2.4
> нужно порт перекинуть с инетовского ифейса внутрь сети:

man iptables. dnat


-- 
   np: silence


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

* Re[2]: [Comm] как порт перекинуть ?
  2005-10-10 14:15 ` Anton Gorlov
@ 2005-10-10 15:23   ` Vitaly Gorshkov
  0 siblings, 0 replies; 4+ messages in thread
From: Vitaly Gorshkov @ 2005-10-10 15:23 UTC (permalink / raw)
  To: ALT Linux Community, community

AG> man iptables. dnat

    пасиб, сделал так:

-A PREROUTING -i ppp0 -p tcp -m tcp --dport 33333 -j DNAT \
--to-destination 172.16.0.190:33333
    





-- 
С уважением,
 Vitaly                          mailto:vita55555@mail.ru




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

end of thread, other threads:[~2005-10-10 15:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-10 13:23 [Comm] как порт перекинуть ? Vitaly Gorshkov
2005-10-10 13:28 ` ABATAPA
2005-10-10 14:15 ` Anton Gorlov
2005-10-10 15:23   ` Re[2]: " Vitaly Gorshkov

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