| To: | netfilter@lists.netfilter.org |
|---|---|
| Subject: | Re: Bridge Transparent Proxy |
| From: | Jon Tim <lcguy229@yahoo.com> |
| Date: | Tue, 22 May 2007 22:56:55 -0700 (PDT) |
| Delivered-to: | sp-com-lists@consult.net |
| Delivered-to: | netfilter-list1@securepoint.com |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=3uGhYMnyz5NBPNegj++3XDb36VJWL26jErmVM1Zsq4m3qjrv7HEVr9+Ve6mjfLQC1+mnZCKwJAcEKJg302x4coS3rHdjDS3U9ZWyitqaMucrmtDXzjbXM0HMblo03H7eyqm/Y/pbs26bNpuq/hwej20w9PNJnVjZ4PjojGdpGVw=; |
| In-reply-to: | <465314F4.1060007@plouf.fr.eu.org> |
| List-archive: | </pipermail/netfilter> |
| List-help: | <mailto:netfilter-request@lists.netfilter.org?subject=help> |
| List-id: | General discussion and user questions <netfilter.lists.netfilter.org> |
| List-post: | <mailto:netfilter@lists.netfilter.org> |
| List-subscribe: | <https://lists.netfilter.org/mailman/listinfo/netfilter>, <mailto:netfilter-request@lists.netfilter.org?subject=subscribe> |
| List-unsubscribe: | <https://lists.netfilter.org/mailman/listinfo/netfilter>, <mailto:netfilter-request@lists.netfilter.org?subject=unsubscribe> |
| Sender: | netfilter-bounces@lists.netfilter.org |
Hello,
Many thanks for all reply to my Bridge Transparent
Proxy post.
But, please let me know more how to enable "netfilter
Bridge Support" in kernel. Can I add a linke
CONFIG_BRIDGE_NETFILTER=y" in /etc/sysctl.conf ??
And, in the second iptables command what is physdev
and physdev-in?? Does this mean physdev= eth0 and
physdev-in = eth1??
Sorry for my quetion. I am newbie in iptables and
don't understand very well?
My another qutesion is, do I need to use NAT command
in iptables? As I have all public address and why I
have to use NAT to redirect?
Jon.
--- Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
wrote:
> Hello,
>
> Robert LeBlanc a écrit :
> > You will need to look at ebtables. Bridging will
> bypass iptables.
>
> Bridged IPv4 packets traverse the iptables chains if
> the kernel was
> compiled with Netfilter bridge support
> (CONFIG_BRIDGE_NETFILTER=y). It
> allows finer filtering than ebtables, for instance
> accepting only
> outgoing HTTP/HTTPS connections and related ICMP
> messages in both
> directions thanks to connection tracking, e.g. :
>
> iptables -A FORWARD -m state --state
> ESTABLISHED,RELATED -j ACCEPT
> iptables -A FORWARD -m physdev --physdev-in eth1 -m
> state --state NEW \
> -p tcp -m multiport --dports 80,443 -j ACCEPT
>
>
____________________________________________________________________________________Luggage?
GPS? Comic books?
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: simple question, Filka Michal |
|---|---|
| Next by Date: | Re: redirect 127.0.0.1:25 -> 127.0.0.1:2000, Jan Engelhardt |
| Previous by Thread: | Re: Bridge Transparent Proxy, Pascal Hambourg |
| Next by Thread: | Re: Bridge Transparent Proxy, Gáspár Lajos |
| Indexes: | [Date] [Thread] [Top] [All Lists] |