Very old version of Shorewall (which we don''t officially support any
more).
>=20
> In my local i have a linux server running
>=20
> web server
> mail server
> & a DNS server on same machine
>=20
>=20
> which is to be accessed by the outside world
>=20
> can i use one rule to have all the 3 services avalible to the outside
> world and if so how, cause dns is a UDP service
Actually DNS uses both protocols. For normal queries, DNS uses UDP but when the
length of the response exceeds what would fit in a 512-byte datagram, DNS
switches to TCP. TCP is also used for zone transfers.
> and http is tcp service
> or i have to have 3 separate rules for th above
You need at least two rules -- one for UDP and one for TCP.
-Tom
--=20
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