|
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
============================================================================
|
|
|