All of lore.kernel.org
 help / color / mirror / Atom feed
From: dhottinger@harrisonburg.k12.va.us
To: netfilter@lists.netfilter.org
Subject: Re: redirect to proxy servere
Date: Thu, 01 Mar 2007 09:09:18 -0500	[thread overview]
Message-ID: <20070301090918.0b6l0ssqqsww8g0g@webmail.harrisonburg.k12.va.us> (raw)
In-Reply-To: <20070301085019.ie8pp1zmqso8sssw@webmail.harrisonburg.k12.va.us>

Quoting dhottinger@harrisonburg.k12.va.us:

> Same ruleset Ive been using for 3 years with no issues.  I just would
> like to have any traffic going to apples update site go straight there
> without being redirected to my proxy.
>
> thanks,
> ddh
>
>
> Quoting Jan Engelhardt <jengelh@linux01.gwdg.de>:
>
>>
>> On Mar 1 2007 07:19, dhottinger@harrisonburg.k12.va.us wrote:
>>>
>>> I currently redirect all port 80 traffic to my squid proxy server with
>>> following:
>>>
>>> $IPC -A TOSERVERS -p tcp --dport 8080 -d 204.111.40.10 -i $L3 -j LACCEPT
>>> $IPC -A TOSERVERS -p tcp --dport 8080 -d 204.111.40.10 -i $L3 -j LACCEPT
>>> $IPC -A TOSERVERS -p tcp --dport 9011:9015 -d 204.111.40.10 -i $L3  
>>>   -j LACCEPT
>>> $IPC -A TOSERVERS -p tcp --dport 10000 -d 204.111.40.10 -i $L3 -j LACCEPT
>>>
>>> Works great, except all of a sudden my apple computers wont do software
>>> updates.  So, I would like to not redirect traffic that is destined for
>>> apple.com or swscan.apple.com's website.  Im not quite sure of the  
>>>   syntax for
>>> my rule, or if this is even possible.  Any ideas?
>>
>> Perhaps the problem is not in the "TOSERVERS" chain but the "LACCEPT" one.
>> Or even somewhere else in the iptables ruleset.
>>
>>
>>
>> Jan
>> --
>>
>
>
>
> -- 
> Dwayne Hottinger
> Network Administrator
> Harrisonburg City Public Schools

$IPC -N LACCEPT
$IPC -A LACCEPT -j ACCEPT


-- 
Dwayne Hottinger
Network Administrator
Harrisonburg City Public Schools



  reply	other threads:[~2007-03-01 14:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-01 12:19 redirect to proxy servere dhottinger
2007-03-01 13:00 ` Jan Engelhardt
2007-03-01 13:50   ` dhottinger
2007-03-01 14:09     ` dhottinger [this message]
2007-03-01 16:11       ` Jan Engelhardt

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=20070301090918.0b6l0ssqqsww8g0g@webmail.harrisonburg.k12.va.us \
    --to=dhottinger@harrisonburg.k12.va.us \
    --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.