From: "Rob Sterenborg" <rob@sterenborg.info>
To: 'Gilles Yue' <gyue@novelgmt.intnet.mu>, netfilter@lists.netfilter.org
Subject: RE: Help on IPTABLES
Date: Thu, 9 Oct 2003 15:54:45 +0200 [thread overview]
Message-ID: <20031009164635.174791B8D7@smtp.ttp.nl> (raw)
In-Reply-To: <83055D4B014C9E478D2F04624B9E82CF39E7D2@noveldc.novelgmt.mu>
> Can somebody explain to me why is when i changed my Chain
> INPUT Rules from ACCEPT to DROP, i cannot browse the internet
> despite opening port 80 in the INPUT rule.
...
> Chain INPUT (policy DROP)
> target prot opt source destination
> RH-Lokkit-0-50-INPUT all -- anywhere anywhere
> ACCEPT tcp -- anywhere anywhere
> tcp spt:http
> ACCEPT udp -- anywhere anywhere
> udp spt:http
Because you used sport. You are trying to reach servers that are
*listening* on port 80/443 so you should use dport (destination = port
80/443). You are most likely not sending from port 80/443.
Gr,
Rob
next prev parent reply other threads:[~2003-10-09 13:54 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-09 12:24 Help on IPTABLES Gilles Yue
2003-10-09 13:54 ` Rob Sterenborg [this message]
2003-10-14 6:59 ` Joel Newkirk
-- strict thread matches above, loose matches on Subject: below --
2006-12-16 17:04 Help on Iptables wlagmay
2006-12-16 19:20 ` Pascal Hambourg
2006-12-17 12:08 ` wlagmay
2003-10-14 12:50 Help on IPTABLES Gilles Yue
2003-10-13 12:09 Gilles Yue
2003-10-13 13:23 ` Ralf Spenneberg
2003-10-10 6:43 Gilles Yue
2003-10-09 12:20 info
2003-10-11 14:32 ` Leonardo Rodrigues Magalhães
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=20031009164635.174791B8D7@smtp.ttp.nl \
--to=rob@sterenborg.info \
--cc=gyue@novelgmt.intnet.mu \
--cc=netfilter@lists.netfilter.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox