Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: ipchains


  • Subject: Re: lug-bg: ipchains
  • From: vasil@xxxxxxxxxxxxxxx (ManiaX Killerian)
  • Date: Tue, 8 Jun 1999 22:44:09 +0300 (EET DST)



On Tue, 8 Jun 1999, Hristo Georgiev wrote:

> Zdraweite.2 dena se myca sys komandata "ipchaina". Problema mi e slewdniq:
> znam ce tazi komanda maskira mreva. Imam edno PC sys Linux (slsckware 4.0)
> ,i LAN mreva do kom[iqta :) .Iskam kogato az nabera moq ISP i toi da move da
> polzwa internet.Widqh go towa wyw edna game zala no kolkoto i da se myca ne
> movah da se sprawq sys "ipchains" Adresite koito sym dal sa slednite: na
> Linux-a : ip=192.168.0.1 Mask=255.255.255.0 ......na Windowsa:
> ip=192.168.0.2 Mask=255.255.255.0 Gateway= 192.168.0.1.....mislq ce taka
> trqbwa da sa no ne sym siguren. Ima li ne]o koeto trqbwa da dobawq o]e? Naj
> wece me interesuwa PULNIA RED na komandata "opchains" koito maskira mrevata
> sys tezi danni kito sym daj.
> 
> Thanks in advance
> Judas.
> 
Znachi ,komandata e :
ipchains -A forward -j MASQ -s 192.168.0.0/24 -D 0.0.0.0/0 
t.e. Vsichki paketi ot 192.168.0.xx do navsqkude se maskirat....Za poveche
info vizh man-a na ipchains ...I razbira se,mozhesh da polzvash ipchains
samo na 2.2.x kernel ,i to kato imash kompilirani vutre masquerading 
(na network opciite ,slagash always defragment,sled tova masquerading
i ako iskash,ICMP masqerading ,i si gotov).Ako si s 2.0.xx kernel,shte
trqbva da polzvash ipfwadm po sledniq nachin :
ipfwadm -F -a masq -S 192.168.0.0/24 -D 0.0.0.0/0

p.s. Trqbva sushto taka da napravish echo 1 >/proc/sys/net/ipv4/ip_forward
za da pravi forward na IP paketi ...

==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
For more send to lug-bg-request@xxxxxxxxxxxx a single word 'info'
==================================================================


  • Относно:

 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.