[Shorewall-newbies] help!

mauriceheng at justeducation.com mauriceheng at justeducation.com
Thu Feb 26 02:42:06 PST 2004

Info abt my shorewall

ip route show dev eth0  proto kernel  scope link  src
default via dev eth0

ip addr show

1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet scope host lo
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:0c:41:1d:2c:a4 brd ff:ff:ff:ff:ff:ff
    inet brd scope global eth0
3: tunl0 at NONE: <NOARP> mtu 1480 qdisc noop
    link/ipip brd
4: gre0 at NONE: <NOARP> mtu 1476 qdisc noop
    link/gre brd

shorewall version


I'm running a debian webserver and i intend to only allow port 80 and 22 open 
to the public which i successfully done so.. But now i intend to allow only my 
country's (Singapore) ip range to access port 80 and 22 which i have no idea 
how to do so..How do i go about finding information abt my country's ip 
range ?? and how to i allow only this range to pass through shorewall..
Thank you for yur kind help!!


More information about the Shorewall-newbies mailing list