Iptables config
From: Benoit LEROYER (benoit@gide.net)Date: 05/17/02
- Next message: Cedric Blancher: "Re: Iptables config"
- Previous message: mrsam: "Re: Log analyzer"
- Next in thread: Cedric Blancher: "Re: Iptables config"
- Reply: Cedric Blancher: "Re: Iptables config"
- Reply: ujay: "Re: Iptables config"
- Reply: D. Stussy: "Re: Iptables config"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: Benoit LEROYER <benoit@gide.net> Date: Fri, 17 May 2002 12:17:39 +0200
I have 2 servers
192.168.10.20 with iptables configured
and
192.168.10.10
i would like open only ssh protocol for 192.168.10.10 on 192.168.10.20
if i configure like this, it's not ok
iptables -A INPUT -i eth1 -p tcp -m state --state ESTABLISHED --source
192.168.10.10 --dport 22 -j ACCEPT
iptables -A OUTPUT -o eth1 -p tcp --sport 22 -m state -state ESTABLISHED
- j ACCEPT
but if i delete -m state --state ESTABLISHED in input chain is ok
What have i to do ?
All exemples i've seen on web use -m state --state ESTABLISHED in INPUT
chain
- Next message: Cedric Blancher: "Re: Iptables config"
- Previous message: mrsam: "Re: Log analyzer"
- Next in thread: Cedric Blancher: "Re: Iptables config"
- Reply: Cedric Blancher: "Re: Iptables config"
- Reply: ujay: "Re: Iptables config"
- Reply: D. Stussy: "Re: Iptables config"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|