🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.linux.debian
Article #607

iptables, modprobe i sdi

#607
From: Marcin
Date: Sun, 16 Nov 2003 20:01
44 lines
2336 bytes
Zainstalowałem na serwerze Debiana 3.0 na jądrze 3.4.20
Połączenie z internetem z serwera jest podwarunkiem ze w
/etc/network/interfaces/ ustawie gateway tak jak ip nadany przez tpsa, lub
wogle nie wpisze ĹĽadnego gateway. Nie wiem czy to dobrze.
sieć wew. działa zawsze. Modem his podłączony pod com1

vi /etc/network/interfaces/
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
        address 162.198.255.1
        netmask 255.255.255.0
        network 162.198.255.0
        broadcast 162.198.255.255

auto ppp0
iface ppp0 inet ppp
provider provider

po ustawieniu maskarady i uruchomieniu wywala mi
modprobe: Can't locate module ip_tables
iptables v1.2.6a: can't initialize iptables table `filter': iptables who?
(do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
modprobe: Can't locate module ip_nat_ftp
modprobe: Can't locate module ip_nat_irc

lsmod
debian:/etc# lsmod
Module                  Size  Used by
ppp_deflate            38324   0  (autoclean)
bsd_comp                3688   0  (autoclean)
ppp                    20300   0  (autoclean) [ppp_deflate bsd_comp]
slhc                    4336   0  (autoclean) [ppp]
nls_cp437               3896   0  (autoclean)
pcmcia_core            45824   0
af_packet               6136   0  (unused)

pisze insmod iptables i nic

Jak mam uruchomić iptables by to poszło
maskarade ustawiłem według http://www.baseciq.org/linux/masq
Technical Details
Message-ID: <bp8om6$kvh$1@nemesis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!news.ipartners.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!news.ipartners.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: "Marcin" <ocesarz@o2.pl>
Newsgroups: pl.comp.os.linux.debian
Subject: iptables, modprobe i sdi
Date: Sun, 16 Nov 2003 21:01:50 +0100
Organization: tp.internet - http://www.tpi.pl/
Lines: 48
Message-ID: <bp8om6$kvh$1@nemesis.news.tpi.pl>
NNTP-Posting-Host: pd80.ostroleka.sdi.tpnet.pl
X-Trace: nemesis.news.tpi.pl 1069016585 21489 80.49.187.80 (16 Nov 2003 21:03:05 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Sun, 16 Nov 2003 21:03:05 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit