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

 

начало

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

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

семинари ...

документи

как да ...

 

 

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

Re: lug-bg: Ipchains Forward


  • Subject: Re: lug-bg: Ipchains Forward
  • From: gf@xxxxxxxxxxx (Georgi Chorbadzhiyski)
  • Date: Thu, 09 Jan 2003 03:41:28 +0200



Nickola Kolev wrote:
>  Lyubomir wrote:
>  > Mucha se da podkaram Routirane prez 2 karti na edin Slack 8.1.
>  > No neznam kakva e komandata na ipchains za da rutira linux-a ?
>  > ip_forward sum go napravil 1
>  > probvah s :
>  > ipchains -A forward -s 172.20.1.0/24 -d 0/0  -j ACCEPT
>  > no nestava ne minava ping
> 
> Ïðîáâàé äà ñè ìàñêèðàø âúòðåøíàòà ìðåæà:
> 
> ipchains -A forward -s 172.20.1.0/24 -d 0/0 -j MASQ

*Òðÿáâà* äà ìàñêèðàø

ipchains -A forward -s 172.20.1.0/24 -d ! 172.20.1.0/24 -j MASQ

Îñâåí òîâà òè òðÿáâà

echo 1 > /proc/sys/net/ipv4/ip_forward

âúâ /etc/rc.d/rc.inet2

IPV4_FORWARD=1


-- 
Georgi Chorbadzhiyski
http://georgi.unixsol.org/

============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================




 

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

 

линукс за българи
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.