Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Tobias DiPasquale <codeslinger@gmail.com>
To: shardul Adhikari <free2squid@gmail.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: Blocking Direct outgoing connections to port 80
Date: Mon, 27 Jun 2005 08:58:04 -0400	[thread overview]
Message-ID: <876ef97a050627055863a7e303@mail.gmail.com> (raw)
In-Reply-To: <6c2d1c9d05062705301afcf744@mail.gmail.com>

On 6/27/05, shardul Adhikari <free2squid@gmail.com> wrote:
> Hi list,
> I want to block direct connections comming to port 80 from my network
> , but allow them connections via proxy port 8080 , how to go about it.
> 
> Thanks in Advance.

The LARTC cookbook shows how to do this:

http://lartc.org/howto/lartc.cookbook.squid.html

This is a little old (it uses ipchains for some things) but you should
be able to figure out how to update it for use with iptables.

-- 
[ Tobias DiPasquale ]
0x636f6465736c696e67657240676d61696c2e636f6d


      reply	other threads:[~2005-06-27 12:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-27 12:30 Blocking Direct outgoing connections to port 80 shardul Adhikari
2005-06-27 12:58 ` Tobias DiPasquale [this message]

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=876ef97a050627055863a7e303@mail.gmail.com \
    --to=codeslinger@gmail.com \
    --cc=free2squid@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox