> My ultimate goal is trying to setup my Linux server iptables that can
> only allow "local" accessing, whereas "local" can mean either from box
> that in my domain, or my country (.ca).
> How can I do that? thanks
What are you trying to do, exactly?
Local is anything behind your router, but in an orgainization like a
university there can be a network consisting of a number of more local
networks for each department.
Then, the local network can connect to an internet service provider
which is its own local network which in turn connects to the backbone
(although some service providers connect to a larger provider (e.g.
Rogers once connected to e*).
Or to turn it around, the internet is a wide area network (WAN)
consisting of a huge number of smaller WANs which connect to yet other
WANS and eventually to LAANs and individual stations.
Also, when talking of the internet, forget about what country you are
in. The internet is trans-national There is no network that serves
all of Canada and only Canada. The heirarchy is more likely north-south
from your province or even town than east-west and north of the border.
Your question only has meaning in context of what you are trying to do
and at what level.
If you are trying to set up a home network, the easiest way to do it is
to set up an ip masquerading router, either by buying one at a price of
about $100.00 Canadian or by setting up That old 486 box that you are
using as a footstool to act as a dedicated router. The cable/dsl
router which you buy from Staples or your local computer store is the
easiest solution. It is about the size of a computer textbook, draws
very little power, has no hard drive, does not create heat and is most
likely already configured for your needs by default. Configuration, if
needed, is a process of accessing the router using your browser and
answering a few questions.
These linux newsgroups are comprised of people who are very willing to
help if you have a real problem and state it in terms of what you are
trying to do, what you have tried and what is not working out.
But don't expect them to write a textbook of hypotheticals for you.