Re: Firewall rules to block unwanted protocolls on given ports

2011-03-19 Thread Alexander Schrijver
On Sat, Mar 19, 2011 at 06:05:49AM -0700, johhny_at_poland77 wrote: > Does somebody has an idea, that what kind of iptables/pf rule must i use to > achieve this?: > > i only want to allow these connections [on the output chain]: > > on port 53 output only allow udp - dns > on port 80 output only

Re: Firewall rules to block unwanted protocolls on given ports

2011-03-19 Thread Michael H Lambert
On 19 Mar 2011, at 09:05, johhny_at_poland77 wrote: > Does somebody has an idea, that what kind of iptables/pf rule must i use to achieve this?: > > i only want to allow these connections [on the output chain]: > > on port 53 output only allow udp - dns TCP also needs to be allowed for DNS (to al

Re: Firewall rules to block unwanted protocolls on given ports

2011-03-19 Thread Joachim Schipper
On Sat, Mar 19, 2011 at 06:05:49AM -0700, johhny_at_poland77 wrote: > Does somebody has an idea, that what kind of iptables/pf rule must i use to > achieve this?: > > i only want to allow these connections [on the output chain]: > > on port 53 output only allow udp - dns > on port 80 output only

Re: Firewall rules to block unwanted protocolls on given ports

2011-03-19 Thread Bret Lambert
On Sat, Mar 19, 2011 at 2:05 PM, johhny_at_poland77 wrote: > Does somebody has an idea, that what kind of iptables/pf rule must i use to > achieve this?: > > i only want to allow these connections [on the output chain]: > > on port 53 output only allow udp - dns > on port 80 output only allow tcp

Re: Firewall rules to block unwanted protocolls on given ports

2011-03-19 Thread Christiano F. Haesbaert
On 19 March 2011 10:22, Christiano F. Haesbaert wrote: > On 19 March 2011 10:05, johhny_at_poland77 > wrote: >> Does somebody has an idea, that what kind of iptables/pf rule must i use to >> achieve this?: >> > iptables is linux thingy, so is out of the equation. > >> i only want to allow these

Re: Firewall rules to block unwanted protocolls on given ports

2011-03-19 Thread Otto Moerbeek
On Sat, Mar 19, 2011 at 06:05:49AM -0700, johhny_at_poland77 wrote: > Does somebody has an idea, that what kind of iptables/pf rule must i use to > achieve this?: > > i only want to allow these connections [on the output chain]: > > on port 53 output only allow udp - dns > on port 80 output onl

Firewall rules to block unwanted protocolls on given ports

2011-03-19 Thread johhny_at_poland77
Does somebody has an idea, that what kind of iptables/pf rule must i use to achieve this?: i only want to allow these connections [on the output chain]: on port 53 output only allow udp - dns on port 80 output only allow tcp - http on port 443 output only allow tcp - https on port 993 output onl