Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ip_forward=0 Б Gentoo. оНВЕЛС? Х МЕЛМНЦН НА ОН iptables
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
peter@work
n00b
n00b


Joined: 31 Jan 2005
Posts: 52

PostPosted: Tue Mar 29, 2005 3:56 pm    Post subject: ip_forward=0 Б Gentoo. оНВЕЛС? Х МЕЛМНЦН НА Reply with quote

оНВЕЛС ОН СЛНКВЮМХЧ
Code:

cat /proc/sys/net/ipv4/ip_forward
0

х ОНВЕЛС /etc/init.d/iptables ЕЦН МЕ БЙКЧВЮЕР?
бПНДЕ ФЕ ДНКФЕМ :roll:
еЯКХ МЕР, РН ЦДЕ СЛЕЯРМН Б gentoo ОХЯЮРЭ
Code:

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

КХАН ОПЮБХКЭМЕЕ ОПЮБХРЭ
/etc/sysctl.conf

Х ЙЮЙ Б ЮБРНЛЮРЕ ОНДМХЛЮРЭ
ip_nat_ftp

/etc/modules.autoload.d/kernel-2.6

ХКХ МЕР?
Back to top
View user's profile Send private message
d_n_k
Tux's lil' helper
Tux's lil' helper


Joined: 15 Jul 2004
Posts: 138
Location: Russia

PostPosted: Tue Mar 29, 2005 6:36 pm    Post subject: Reply with quote

/etc/sysctl.conf
net.ipv4.ip_forward = 1

iptbales - сам по себе и никому ни что не должен.

если тебе нужна автоматическая загрузка модулей, то пропиши их /etc/modules.autoload.d/...
Back to top
View user's profile Send private message
FDK
n00b
n00b


Joined: 23 Mar 2005
Posts: 60
Location: ru

PostPosted: Thu Mar 31, 2005 7:15 am    Post subject: Reply with quote

яРНКЙМСКЯЪ Я РЮЙНИ ОПНАКЕЛНИ:
ЯДЕКЮК echo 1 > /proc/sys/net/ipv4/ip_forward
Х sysctl -w
ОПХ ОЕПЕГЮЦПСГЙЕ ip_forward БЯЕ ПЮБМН БЯРЮЕР Б 0.
Back to top
View user's profile Send private message
YD
Guru
Guru


Joined: 30 Oct 2004
Posts: 466
Location: Riga, Latvia

PostPosted: Thu Mar 31, 2005 9:39 am    Post subject: Reply with quote

1. Кодировка на форуме KOI8-R, уважай других.
2. При ребуте вся байда что не сохранена, разумеется теряется. Поэтому надо писать в
Code:
echo "net.ipv4.ip_forward = 1" >> /etc/sysctl.conf && sysctl -p
а потом при следующем ребуте будет нормально.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum