From: Petrisor Bobalca <petry.b@gmail.com>
To: netfilter@lists.netfilter.org
Subject: Re: port blocking
Date: Fri, 25 Mar 2005 16:05:27 +0200 [thread overview]
Message-ID: <1215179231.20050325160527@gmail.com> (raw)
In-Reply-To: <20050325120012.38609.qmail@web51910.mail.yahoo.com>
Hello,
usually you can bind the webserver on a specific IP address (for apache
use BindAddress in httpd.conf). if not, use this iptables rule before
accepting packets on eth0, eth2, eth3, eth4:
iptables -A INPUT -p tcp -i ! eth1 --dport 10000 -j DROP
On Friday, March 25, 2005, 2:00:12 PM, Manish wrote:
> Hi,
> I am having 5 network inteface card on my server, 2 connected to
> ethernet and 3 connected to wireless. i am also running webserver on
> port 10000 in the same machine. I only wanted the users from eth1 to
> be able to connect to my web server. users from other interface i.e
> eth0, eth2.eth3 and eth4 will not be able to connect to my web
> server. What iptables rule should i use.
> Thanks.
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Mail - 250MB free storage. Do more. Manage less.
--
Best regards,
Petrisor mailto:petry.b@gmail.com
next prev parent reply other threads:[~2005-03-25 14:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-25 12:00 port blocking Manish
2005-03-25 13:57 ` Klemen Kecman
2005-03-25 14:05 ` Petrisor Bobalca [this message]
2005-03-25 15:00 ` Jason Opperisano
-- strict thread matches above, loose matches on Subject: below --
2003-05-28 8:43 Imran Alvi
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=1215179231.20050325160527@gmail.com \
--to=petry.b@gmail.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.