[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2.4.0 & Masq



On Tue, Jan 30, 2001 at 06:32:57PM +0300, corsar@webhold.ru wrote:
> Подскажите, что включить в ядре 2.4.0 для маскарада?
> Сам маскарад, насколько я помню включается так:
> iptables -A ..... -s 192.168.0.1 -d 0.0.0.0 -j MASQ
> 

CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=m

iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

> 
> --  
> To UNSUBSCRIBE, email to debian-russian-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
			Шевелев Максим <maxik@maxik.spb.ru>
			ICQ: 28359358



Reply to: