[
Date Prev
][
Date Next
] [
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
which one is executed first ip_forward=1 or iptables FORWARD Drop
To
: debian-user <
debian-user@lists.debian.org
>
Subject
: which one is executed first ip_forward=1 or iptables FORWARD Drop
From
: BELAHCENE Abdelkader <
abdelkader.belahcene@enst.dz
>
Date
: Thu, 13 Jun 2019 10:06:30 +0100
Message-id
: <
[🔎]
CABcwF5nTbQG39ismjrcy58OisRttivS82+mdxRWk7uZSDhtu9Q@mail.gmail.com
>
Hi,
I am using one machine, say SERV, as a gateway ( cards eth0, eth1) from network1 to network2, I want to forward all packets but tcp port 80 so I used
sysctl -w net.ipv4.ip_forward=1
I want to drop port 80, and accept others port
I tryed
iptables -A FORWARD -i eth1 -o eth0 -p tcp --dport 80 -j DROP
but not ran
Thanks for help
regards
Reply to:
debian-user@lists.debian.org
BELAHCENE Abdelkader (on-list)
BELAHCENE Abdelkader (off-list)
Follow-Ups
:
Re: which one is executed first ip_forward=1 or iptables FORWARD Drop
From:
Henning Follmann <hfollmann@itcfollmann.com>
Prev by Date:
Re: error when printing to Samsung C410 series colour laser printer
Next by Date:
Re: which one is executed first ip_forward=1 or iptables FORWARD Drop
Previous by thread:
Re: How to disable automatic core dumps in Debian 9?
Next by thread:
Re: which one is executed first ip_forward=1 or iptables FORWARD Drop
Index(es):
Date
Thread