On Thu, 2005-01-06 at 04:49 +0500, shamsur-rahman wrote:> hi,
> i have shorewall-2.0.9 installed for my pc,i configured it for
> one-interface,the policy is:
> #SOURCE DEST POLICY LOG LEVEL LIMIT:BURST
> fw net ACCEPT
> net all DROP info
> # The FOLLOWING POLICY MUST BE LAST
> all all REJECT info
> now i want to let some ip addresses from the net to connect to my pc,plz
> tell me how i can add these ip addresses to the /etc/shorewall/rules,i
> read the whole shorewall guid but no clue for it.
The quickstart guides are just that -- they tell you how to set up a
basic firewall quickly. Shorewall has a large set of documentation and I
seriously doubt that you have read all of it. Otherwise, you would have
read FAQ 24 which answers your question with respect to SSH; and you can
of use http://shorewall.net/ports.htm (which you would also have read)
together with FAQ 24 to allow access to a wide variety of applications
on your system.
I also must pont out that the question asked in FAQ 24 (which is very
similar to yours) is answered in the last example in your own rules
file!!
Please try to use all of the Shorewall documentation -- It should answer
the vast majority of your questions.
-Tom
--
Tom Eastep \ Nothing is foolproof to a sufficiently talented fool
Shoreline, \ http://shorewall.net
Washington USA \ teastep@shorewall.net
PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key