ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Alexey Morsov <samurai@ricom.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] Два vsftpd на одной машине
Date: Mon, 18 Feb 2008 19:44:57 +0300
Message-ID: <20080218164457.GB8509@ricom.ru> (raw)

[-- Attachment #1: Type: text/plain, Size: 1751 bytes --]

Приветствую.

Есть машинка - HN, на которой несколько VPS поднято. Один из vps ftp.
Но на самом HN тоже ftp поднят (в качестве источника для apt для всех VPS
и еще одного сервера). Т.е. имеется vsftpd на 192.168.130.x (HN) и vsftpd
на 192.168.1.y (VPS  с ftp). Однако нужно сделать так чтобы:
  
  1. при обращении на 21 порт 192.168.130.x реально открывался VPS 192.168.1.y
  (доавил в nat уже - это работает без вопросов).

  2. иметь таки доступ к vsftpd который на самом HN (192.168.130.x) - мне
  так кажется проще всего вынести на некий нестандартный порт (да и от
  греха подальше на него не надо никому лазить кроме меня :P)

Вот как сменить порт у vsftpd я не пойму (и возможно ли) учитывая что он
запускается из под xinetd а опция listen_port как я понял по доке только
для stand-aline режима.

Может есть какой-то более другое вариант решения такой дилемы?



-- 
С уважением,
Алексей Морсов
программист ЗАО "ИК "Риком-Траст"

Jabber: samurai@www.fondmarket.ru
ICQ: 196766290
www.ricom.ru
www.fondmarket.ru

ALT Linux Team Member
email: swi@altlinux.ru
web: www.altlinux.ru, www.sisyphus.ru

NP: Nightwish / Century Child: 7 - Ocean Soul


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 481 bytes --]

             reply	other threads:[~2008-02-18 16:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-18 16:44 Alexey Morsov [this message]
2008-02-18 16:56 ` Nikolay A. Fetisov
2008-02-18 17:12   ` Alexey Morsov
2008-02-18 18:25 ` Andrey Konnov
2008-02-19  9:09   ` Alexey Morsov

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=20080218164457.GB8509@ricom.ru \
    --to=samurai@ricom.ru \
    --cc=sysadmins@lists.altlinux.org \
    /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 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