[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

192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.11
default via 192.168.1.1 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 127.0.0.1/8 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 192.168.1.11/24 brd 192.168.1.255 scope global eth0
3: tunl0 at NONE: <NOARP> mtu 1480 qdisc noop
    link/ipip 0.0.0.0 brd 0.0.0.0
4: gre0 at NONE: <NOARP> mtu 1476 qdisc noop
    link/gre 0.0.0.0 brd 0.0.0.0

shorewall version

1.4.10c


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!!

Maurice


More information about the Shorewall-newbies mailing list