ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Vyt <vyt@vzljot.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] Squid & ftp
Date: Fri Mar 30 16:10:12 2001
Message-ID: <20010330161306.0e9e7156.vyt@vzljot.ru> (raw)
In-Reply-To: <012001c0b90e$90a30f60$0500000a@sasha>

On Fri, 30 Mar 2001 15:42:56 +0400
"Alexandre Redko" <Mandrake@zlkz.spnet.ru> wrote:

> Добрый день!
> Сценарий rc.firewall мне писал провайдер, я его только латаю. Но я
> понимаю

Этот сценарий есть в книге "Безопасность и оптимизация Linux"
http://linux.webclub.ru/books/linuxsos/index.html
в главе 8 "Сетевой брандмауэр с поддержкой маскарадинга и форвардинга"
http://linux.webclub.ru/books/linuxsos/ch8.html
он там даже комментируется.

> так, что за маскарад ftp (_не_ того, который через http) отвечают не
> ipchains, а загружаемый  из этого сценария модуль ip_masq_ftp.o
> 
> if [ -e /proc/net/ip_masquerade ]
>     then
>     echo -n "Loading masquerading modules: "
>     for i in /lib/modules/`uname -r`/ipv4/ip_masq*
>     do
>       echo -n "$i" | /bin/sed s"/^.*ip_masq_//"| sed "s/\.o$/ /"
>       /sbin/insmod $i
>     done
>     echo ""
> fi
> 
> ........
> 
> /sbin/ipchains -A input -d мой.интернет.ад.рес/32 ftp-data -p tcp -j
ACCEPT
> /sbin/ipchains -A input -d 2мой.интернет.ад.рес/32  ftp -p tcp -j ACCEPT
> 
> 
> Regards to All
> Alexandr Redko
> LU # 178842
> ICQ # 75828152
> ----- Original Message -----
> From: "Зуев Дмитрий Федорович" <dima@magn.guta.ru>
> To: <mandrake-russian@altlinux.ru>
> Sent: Friday, March 30, 2001 2:55 PM
> Subject: RE: [mdk-re] Squid & ftp
> 
> 
> > A FTP редиректится на тот же порт что и HTTP или же просто
маскарадится и
> > отправляется в инет ?
> >
> > -----Original Message-----
> > From: Alexandre Redko [mailto:Mandrake@zlkz.spnet.ru]
> > Sent: Friday, March 30, 2001 4:43 PM
> > To: mandrake-russian@altlinux.ru
> > Subject: Re: [mdk-re] Squid & ftp
> >
> >
> > Добрый день!
> >
> > На прокси-сервере стоят ipchains c маскарадингом и squid & transparent
> > proxy, при этом свободно хожу из win-машин на ftp через wincommander'а
> >
> > Regards to All
> > Alexandr Redko
> > LU # 178842
> > ICQ # 75828152
> > ----- Original Message -----
> > From: "Vyt" <vyt@vzljot.ru>
> > To: <mandrake-russian@altlinux.ru>
> > Sent: Friday, March 30, 2001 12:44 PM
> > Subject: Re: [mdk-re] Squid & ftp
> >
> >
> > > On Fri, 30 Mar 2001 10:08:29 +0400
> > > Зуев Дмитрий Федорович <dima@magn.guta.ru> wrote:
> > >
> > > > Здравствуйте !
> > > > Сначала сделал выход в инет через маскарадинг.
> > > > Мог свободно с клиентской машины соединяться с FTP серверами.
Потом
> > > поставил
> > > > транспарент прокси, и теперь с теми же настройками клиентской
машины
> не
> > > могу
> > > > зайти на FTP, тогда как HTTP бегает замечательно. Может FTP на
другой
> > > порт
> > > > редиректить надо было (не тот на который HTTP) или какая то
настройка
> > > Squid
> > > > нужна ?
> > > >
> > > > С Уважением Дмитрий Зуев.
> > >
> > > Нужно у клиента указать тип ftp-proxy не user@site, а http, если он
это
> > > может.
> > >
> > > --
> > > Regards, Vyt
> > > mailto:vyt@vzljot.ru
> > >
> > > _______________________________________________
> > > Mandrake-russian mailing list
> > > Mandrake-russian@altlinux.ru
> > > http://altlinux.ru/mailman/listinfo/mandrake-russian
> > >
> >
> >
> > _______________________________________________
> > Mandrake-russian mailing list
> > Mandrake-russian@altlinux.ru
> > http://altlinux.ru/mailman/listinfo/mandrake-russian
> > 1╘щ╜╘\x1e╝К,┴╘Фj)b· b╡с\x1a²зз▒ЙН╡х
> ²╘m√)Нф╩║╤з\x7fЩ╘m√)Нф╩©≥╗╔≥╘Ъ√+-┼wХЧf╖v╤╓z╩╛╡&╖
> 
> 
> _______________________________________________
> Mandrake-russian mailing list
> Mandrake-russian@altlinux.ru
> http://altlinux.ru/mailman/listinfo/mandrake-russian
> 


-- 
Regards, Vyt
mailto:vyt@vzljot.ru



  reply	other threads:[~2001-03-30 16:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-30 14:50 Зуев Дмитрий Федорович
2001-03-30 15:37 ` Alexandre Redko
2001-03-30 16:10   ` Vyt [this message]
2001-04-02 10:44     ` Вениамин
2001-04-02 19:46       ` Ivan Zakharyaschev
2001-04-02 19:53         ` Aleksandr Blohin
2001-04-02 20:02           ` Ivan Zakharyaschev
2001-04-02 20:15             ` Aleksandr Blohin
2001-04-02 20:29               ` Ivan Zakharyaschev
2001-04-02 20:43                 ` Aleksandr Blohin
2001-04-02 20:15           ` Yuri Ryazantsev
2001-04-02 20:27             ` Aleksandr Blohin

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=20010330161306.0e9e7156.vyt@vzljot.ru \
    --to=vyt@vzljot.ru \
    --cc=mandrake-russian@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