Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Mam maly problemik przy dodawaniu regolek wyskakuje mi error:
modprobe: Can't locate modules ip_tables
iptables v1.2.6a: can't initialize
iptables tables 'nat': iptables who? ( do you need to insmod?)
Parahaps iptables or you kernel needs to be upgraded
Offline
Twój kernel chyba nie obsługuje iptables.
Offline
Najprawdopodbniej nie amsz wkompilowanego NAT'a w kernela
powinno to wygladac mniejwecej tak :]
Networking options ---> <*> Packet socket [*] Packet socket: mmapped IO <*> Netlink device emulation [*] Network packet filtering (replaces ipchains) [*] Network packet filtering debugging [*] Socket Filtering <*> Unix domain sockets [*] TCP/IP networking IP: Netfilter Configuration ---> <*> IP tables support (required for filtering/masq/NAT) <M> limit match support <M> MAC address match support <M> Packet type match support <M> netfilter MARK match support <M> Multiple port match support <M> TOS match support <M> recent match support <M> ECN match support <M> DSCP match support <M> AH/ESP match support <M> LENGTH match support <M> TTL match support <*> tcpmss match support <M> Helper match support <M> Connection state match support <M> Connection tracking match support <M> Unclean match support (EXPERIMENTAL) <M> Owner match support (EXPERIMENTAL) <*> Packet filtering <M> REJECT target support <M> MIRROR target support (EXPERIMENTAL) <*> Full NAT <M> MASQUERADE target support <M> REDIRECT target support [*] NAT of local connections (READ HELP) <M> Basic SNMP-ALG support (EXPERIMENTAL) <*> Packet mangling <M> TOS target support <M> ECN target support <M> DSCP target support <M> MARK target support <*> LOG target support <*> ULOG target support <*> TCPMSS target support
Offline
zrobilem wszsystko tak jak polecilas i oczywiscie dziala ;) thx
Offline
Napotkałem jeszcze jeden problem otoż nieposiadam pliku /etc/rc.local i nie wiem gdzie umiescic wpis ktory odpalal by automatycznie skrypt konfigurujacy ip_tables
Offline
A wiec
touch /etc/init.d/rc.firewall mcedit /etc/init.d/rc.firewall
wpisujesz wszystkie regulki od firewall'a zapisujesz wychodzisz i wydajesz polecena
chmod +x touch /etc/init.d/rc.firewall ln -s /etc/init.d/rc.firewall /etc/rc0.d/K20rc.firewall ln -s /etc/init.d/rc.firewall /etc/rc1.d/K20rc.firewall ln -s /etc/init.d/rc.firewall /etc/rc2.d/S20rc.firewall ln -s /etc/init.d/rc.firewall /etc/rc3.d/S20rc.firewall ln -s /etc/init.d/rc.firewall /etc/rc4.d/S20rc.firewall ln -s /etc/init.d/rc.firewall /etc/rc5.d/S20rc.firewall ln -s /etc/init.d/rc.firewall /etc/rc6.d/K20rc.firewall
uruchamiasz system na nowo i juz Ci wszystko sie ladne uruchamia :]
Offline
Byłbym wdzięczny Biexi jak bys mogla wyjasnic dlaczego tak akurat maja nazywac sie te dołaczenie bo musze jeszcze cos dodac aby startowało razem z systemem... wielkie thx
Offline
BiExi, zamais meczy sie z linkami
wpisujesz wszystkie regulki od firewall'a zapisujesz wychodzisz i wydajesz polecena
Kod:
chmod +x touch /etc/init.d/rc.firewall
ln -s /etc/init.d/rc.firewall /etc/rc0.d/K20rc.firewall
ln -s /etc/init.d/rc.firewall /etc/rc1.d/K20rc.firewall
ln -s /etc/init.d/rc.firewall /etc/rc2.d/S20rc.firewall
ln -s /etc/init.d/rc.firewall /etc/rc3.d/S20rc.firewall
ln -s /etc/init.d/rc.firewall /etc/rc4.d/S20rc.firewall
ln -s /etc/init.d/rc.firewall /etc/rc5.d/S20rc.firewall
ln -s /etc/init.d/rc.firewall /etc/rc6.d/K20rc.firewall
[/quote]
mozna to zrobic przez:
update-rc.d rc.firewall defaults 20
Nie ma nie idzie... jest nie umiem.
Offline
aaa, bardzo sprytne, nie znałem tego - sie przyda :)
Offline
Time (s) | Query |
---|---|
0.00016 | SET CHARSET latin2 |
0.00005 | SET NAMES latin2 |
0.00170 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.147.195.61' WHERE u.id=1 |
0.00128 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.147.195.61', 1738272645) |
0.00081 | SELECT * FROM punbb_online WHERE logged<1738272345 |
0.00146 | DELETE FROM punbb_online WHERE ident='44.206.65.8' |
0.00396 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=395 AND t.moved_to IS NULL |
0.00024 | SELECT search_for, replace_with FROM punbb_censoring |
0.00239 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=395 ORDER BY p.id LIMIT 0,25 |
0.00167 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=395 |
Total query time: 0.01372 s |