From: Andrey Brindeew <abr@altlinux.ru> To: ALT Linux community <community@altlinux.ru> Subject: [Comm] Закрыть порт снаружи Date: Wed, 2 Apr 2003 13:37:02 +0400 Message-ID: <20030402093702.GA14842@abr.tool.ru> (raw) [-- Attachment #1: Type: text/plain, Size: 1198 bytes --] Hi! Как закрыть 53-й порт снаружи в iptables? Мне не удалось повесить pdnsd на два интерфейса (127.0.0.1 и 192.168.1.1), получается либо только на один интерфейс, либо на все. Вот что выводит sudo ipchains --list : Chain INPUT (policy ACCEPT) target prot opt source destination ACCEPT udp -- anywhere anywhere udp spt:bootpc dpt:bootps ACCEPT tcp -- anywhere anywhere tcp spt:bootpc dpt:bootps ACCEPT udp -- anywhere anywhere udp spt:bootps dpt:bootpc ACCEPT tcp -- anywhere anywhere tcp spt:bootps dpt:bootpc ACCEPT udp -- anywhere anywhere udp dpt:domain ACCEPT tcp -- anywhere anywhere tcp dpt:domain Chain FORWARD (policy ACCEPT) target prot opt source destination ACCEPT all -- 192.168.1.0/24 anywhere Chain OUTPUT (policy ACCEPT) target prot opt source destination Какое правило необходимо создать для того, чтобы 53 порт с интерфейса ppp0 не был виден? -- WBR, Andrey Brindeew. "No one person can understand Perl culture completely" (C) Larry Wall. [-- Attachment #2: Type: application/pgp-signature, Size: 245 bytes --]
next reply other threads:[~2003-04-02 9:37 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-04-02 9:37 Andrey Brindeew [this message] 2003-04-02 10:10 ` [Comm] " Artem K. Jouravsky 2003-04-02 11:21 ` Andrey Brindeew 2003-04-02 11:45 ` Artem K. Jouravsky 2003-04-02 12:54 ` Amodeus 2003-04-02 10:25 ` [Comm] " Amodeus 2003-04-02 11:37 ` [Comm] " Andrey Brindeew 2003-04-02 12:56 ` Amodeus 2003-04-02 17:49 ` Alexey Tourbin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20030402093702.GA14842@abr.tool.ru \ --to=abr@altlinux.ru \ --cc=community@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git