Re: Anyone knows how to connect to a router?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.security.firewalls archive

Re: Anyone knows how to connect to a router?

From: Neil W Rickert <rickert+nn@cs.niu.edu>
Date: Sat Oct 29 2005 - 20:24:11 CEST

Tim <Timmy14@notformail.com> writes:

>I have to connect to a router to share the bandwith cause my sister moved
>in, anyone know how to do this?

I will guess that router IP is 192.168.1.1.

>I'm using FreeBSD and IPFW for the firewall.

Not familiar with IPFW, although it does look as if you might
be blocking traffic from the router.

>For some reason I can't connect to the damn router.

>I also tried with IPF

>Here are the rules I came up with..
>---------------
>block in log body quick on eth0 from 192.168.1.1 to any
>block in log body quick on eth0 from 192.168.1.0/24 to any

Those would seem to drop all traffic from the router, although it
would allow external packets that are being routed.

>pass in quick proto icmp from 192.168.1.0/24 to any keep state
>pass in quick proto tcp from 192.168.1.0/24 to any keep state
>pass in quick proto udp from 192.168.1.0/24 to any keep state
>pass in quick from 192.168.1.0/24 to any

I'm not clear on what those are supposed to do. On my reading, you
already blocked those packets with the "quick" option, so they won't
reach down this far in your rules. Or do you have two interfaces, so
that the early rules only block on the wrong interface and the rules
immediately above accept on the correct interface.

Either way, you haven't given enough info for people to be able to
help.
Received on Mon Nov 21 02:35:16 2005