- To: "'Debian Users List'" <debian-user@Pixar.com>
- Subject: Using ipfw
- From: Richard Guay <email@example.com>
- Date: Thu, 15 Feb 1996 16:01:59 -0500
- Message-id: <01BAFBBE.F37FB1A0@ai102>
I have been working with ipfw without much success. What I am trying to do
is to do a complete deny access from the outside would to our network and
then specifying individual ports that are accessable. For example,
# first, disallow all external communication into the network
ipfw add forwarding deny all 0.0.0.0/0 to 205.241.206/24
# allow all internal communication to the internet
ipfw add forwarding accept all 205.241.206/24 to 0.0.0.0/0
# allow WWW access from the external world to a single computer
ipfw add forwarding accept tcp 0.0.0.0/0 80 to 18.104.22.168/32
Also, issuing the command:
ipfw list firewall
just hangs the command line until I issue a ^C, at which it aborts.
Therefore, I can not look at what the firewall's state is.
Another side issue, what is the largest TCP port number allowable?
Thank you for your time and attention.
Richard A. Guay