[PLUG] iptables redux
Roderick A. Anderson
raanders at acm.org
Tue Aug 17 16:41:13 UTC 2004
On Tue, 17 Aug 2004, Charles Sliger wrote:
> That is correct. It would also work to say:
> -A RH-Lokkit-0-50-INPUT --dport 22 -j REJECT
> If all you want to do is deny all port 22 connects that have not already
> been accepted.
Wil, Charles;
You guys rock. I did the "more explicit" method and it worked great.
Now to try the "better" way from above.
One small correction. It needs to be
-A RH-Lokkit-0-50-INPUT -p tcp --dport 22 -j REJECT
(with the -p tcp)
Rod
--
"Open Source Software - You usually get more than you pay for..."
"Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL"
More information about the PLUG
mailing list