Re: Help w/ Iptable Rules

2003-06-20 Thread Shaul Karl
On Fri, Jun 20, 2003 at 11:37:28AM -0400, [EMAIL PROTECTED] wrote: > Hi > > I need help w/ simple iptables rules. > In case you will not get a better reply it is my suggestion that you read the documentation and ask more concrete questions. -- Shaul Karl, [EMAIL PROTECTED] e t -- To

Re: Help w/ Iptable Rules

2003-06-20 Thread Vineet Kumar
* [EMAIL PROTECTED] ([EMAIL PROTECTED]) [030620 09:49]: > Hi > > I need help w/ simple iptables rules. > > Needs: > to only allow ssh packets in and they would be over an > ethernet interface. > > allow all outbound traffic iptables -P INPUT DROP iptables -A INPUT -p icmp -j A

Re: Help w/ Iptable Rules

2003-06-20 Thread Paul
id suggest just a simple thing like this iptables -p input drop iptables -p forward drop iptables -p output accept iptables -A input -p tcp --dport 22 -j ACCEPT That drops everything except ssh incoming on port 22, and allows all outputs. thats what you wanted :) --- [EMAIL PROTECTED] wrote: >

Help w/ Iptable Rules

2003-06-20 Thread fbrian
Hi I need help w/ simple iptables rules. Needs: to only allow ssh packets in and they would be over an ethernet interface. allow all outbound traffic Rule set I am working with. iptables -N block iptables -A block -p tcp --syn --destination-port 22 -j ACCEPT