All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: Multi Addressing... is it possible ?
@ 2004-04-30 18:59 Aldo Lagana
  2004-04-30 19:58 ` Rhaoni Chiu Pereira
  0 siblings, 1 reply; 8+ messages in thread
From: Aldo Lagana @ 2004-04-30 18:59 UTC (permalink / raw)
  To: 'Rhaoni Chiu Pereira', netfilter

I dont understand your question but I assume that for those 2 IPs you DON'T
want squid to proxy - rules like this work for me:

iptables -t nat -I PREROUTING -d 129.37.0.111 --dport 80 -j ACCEPT
iptables -t nat -I PREROUTING -d 32.97.118.242 --dport 80 -j ACCEPT

-I inserts the rule at the top of the chain thus firing it when it hits
those IPs...not the best method, but a quick kludge that works for me.

-----Original Message-----
From: Rhaoni Chiu Pereira [mailto:rhaoni@sistemica.info]
Sent: Friday, April 30, 2004 2:45 PM
To: netfilter@lists.netfilter.org
Subject: Multi Addressing... is it possible ?


Hi List,

    I must implement a few firewallrules but I'm a little bit lost. I use a
transparent proxy with this following rule:

    IPTABLES -t nat -A PREROUTING -p tcp -i eth1 -s 192.168.0.0/16 -d !
192.168.0.0/16 --dport 80 -j REDIRECT --to-port 3128

     The -d parameter is because I have a few VPN's and my squid uses a
tcp_outgoing_address, so ... Now I must create some exceptions for two IP's
more
than the 192.168.0.0/16 net but I don't know how ... any ideas ?

     the Ip's are 129.37.0.113 and 32.97.118.242

thanks,

Rhaoni Chiu Pereira



Visit our website at http://www.p21.com/visit 
The information in this e-mail is confidential and may contain legally
privileged information.  It is intended solely for the person or entity to
which it is addressed.  Access to this e-mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution, action taken, or action omitted to be taken in
reliance on it, is prohibited and may be unlawful.  If you received this
e-mail in error, please contact the sender and delete the material from any
computer. 




^ permalink raw reply	[flat|nested] 8+ messages in thread
* Multi Addressing... is it possible ?
@ 2004-04-30 18:45 Rhaoni Chiu Pereira
  2004-04-30 18:57 ` Antony Stone
  0 siblings, 1 reply; 8+ messages in thread
From: Rhaoni Chiu Pereira @ 2004-04-30 18:45 UTC (permalink / raw)
  To: netfilter

Hi List,

    I must implement a few firewallrules but I'm a little bit lost. I use a
transparent proxy with this following rule:

    IPTABLES -t nat -A PREROUTING -p tcp -i eth1 -s 192.168.0.0/16 -d !
192.168.0.0/16 --dport 80 -j REDIRECT --to-port 3128

     The -d parameter is because I have a few VPN's and my squid uses a
tcp_outgoing_address, so ... Now I must create some exceptions for two IP's more
than the 192.168.0.0/16 net but I don't know how ... any ideas ?

     the Ip's are 129.37.0.113 and 32.97.118.242

thanks,

Rhaoni Chiu Pereira



^ permalink raw reply	[flat|nested] 8+ messages in thread
* Multi Addressing... is it possible ?
@ 2004-04-30 18:45 Rhaoni Chiu Pereira
  0 siblings, 0 replies; 8+ messages in thread
From: Rhaoni Chiu Pereira @ 2004-04-30 18:45 UTC (permalink / raw)
  To: netfilter

Hi List,

    I must implement a few firewallrules but I'm a little bit lost. I use a
transparent proxy with this following rule:

    IPTABLES -t nat -A PREROUTING -p tcp -i eth1 -s 192.168.0.0/16 -d !
192.168.0.0/16 --dport 80 -j REDIRECT --to-port 3128

     The -d parameter is because I have a few VPN's and my squid uses a
tcp_outgoing_address, so ... Now I must create some exceptions for two IP's more
than the 192.168.0.0/16 net but I don't know how ... any ideas ?

     the Ip's are 129.37.0.113 and 32.97.118.242

thanks,

Rhaoni Chiu Pereira



^ permalink raw reply	[flat|nested] 8+ messages in thread
* Multi Addressing... is it possible ?
@ 2004-04-30 18:45 Rhaoni Chiu Pereira
  0 siblings, 0 replies; 8+ messages in thread
From: Rhaoni Chiu Pereira @ 2004-04-30 18:45 UTC (permalink / raw)
  To: netfilter

Hi List,

    I mus implement a few firewallrules but I'm a little bit lost. I use a
transparent proxy with this following rule:

    IPTABLES -t nat -A PREROUTING -p tcp -i eth1 -s 192.168.0.0/16 -d !
192.168.0.0/16 --dport 80 -j REDIRECT --to-port 3128

     The -d parameter is because I have a few VPN's and my squid uses a
tcp_outgoing_address, so ... Now I must create some exceptions for two IP's more
than the 192.168.0.0/16 net but I don't know how ... any ideas ?

     the Ip's are 129.37.0.113 and 32.97.118.242

thanks,

Rhaoni Chiu Pereira



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-04-30 20:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-30 18:59 Multi Addressing... is it possible ? Aldo Lagana
2004-04-30 19:58 ` Rhaoni Chiu Pereira
2004-04-30 20:12   ` John A. Sullivan III
2004-04-30 20:18   ` Antony Stone
  -- strict thread matches above, loose matches on Subject: below --
2004-04-30 18:45 Rhaoni Chiu Pereira
2004-04-30 18:57 ` Antony Stone
2004-04-30 18:45 Rhaoni Chiu Pereira
2004-04-30 18:45 Rhaoni Chiu Pereira

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.