What does 5651 require for dormitories and guesthouses? Law No. 5651 Art. 7/2 obliges all public use providers, commercial or not, to keep access records, and Regulation Art. 4/1-b requires them to be stored electronically for two years. izgate matches these records to the resident student, staff and visitor identity and keeps them in a signed archive.
Why is the internet line a dormitory operator's own responsibility?
In a dormitory the same line is used by hundreds of resident students, the night-duty attendant, employees of the catering and cleaning contractors, and parents who visit at weekends. The line is registered to the institution or company that runs the dormitory; traffic leaves through one IP address, and that address belongs to the dormitory.
When a transaction from the line is examined, the question comes to the dormitory first, because who the student was is not visible from outside. Identity-matched access records (which device, with which internal IP and MAC, at what time, to which destination, through which NAT port, and which alias code and therefore which resident that maps to) show who did it. This is not a legal guarantee; it means you can answer a competent authority completely and direct accountability to the right person.
What sets a dormitory apart from a school is the hours of use. At a school the network peaks during lessons; in a dormitory it stays busy from midnight to morning, and each student brings a phone, a laptop, a game console and a smart TV stick. The device count is several times the student count, and every device has to be tied to a person. A shared-password network cannot do that.
A hostel scales this down but keeps the logic: seasonal young travelers, weekend groups and the operator's own staff leave through the same line. For daytime classroom networks and educational institutions read the schools and education page; for the residential, live-in setup read this one.
Which legal framework applies to dormitories and hostels?
Law No. 5651 defines a public use provider without regard to who the user is:
"Toplu kullanım sağlayıcı: Kişilere belli bir yerde ve belli bir süre internet ortamı kullanım olanağı sağlayanı,"
"Public use provider: a person who provides individuals with the means to use the internet at a specific place for a specific period of time,"
Law No. 5651, Art. 2/1-i — unofficial translation — mevzuat.gov.tr
Whether Wi-Fi included in the dormitory fee falls under the "commercial purpose" definition in Regulation art. 3/1-l (internet cafes and similar places that provide internet for a fee) depends on how the service is presented; if you sell a separate paid internet package, have the exact assessment made by your legal adviser. The record-keeping duty, however, is the same for everyone regardless of commercial purpose (Law art. 7/2), and the period is set by the Regulation:
"b) Erişim kayıtlarını elektronik ortamda kendi sistemlerine kaydetmek ve iki yıl süre ile saklamak."
"b) To record access records electronically in their own systems and keep them for two years."
Regulation on Internet Public Use Providers, Art. 4/1-b — unofficial translation — mevzuat.gov.tr
Regulation art. 4/1 also asks for a content filtering system and for identifying users by SMS or a similar method in publicly accessible areas; places such as the dining hall and shared lounges should be considered under that. For filtering, izgate DNS Security blocks by domain name. For detail: Law No. 5651 Guide, What Is a Public Use Provider?, the Regulation.
Dormitories: who is obliged, what is recorded, how long, how signed
| Question | Answer for this sector |
|---|---|
| Who is obliged? | Dormitories and hostels that provide internet to residents, staff and visitors; the definition does not distinguish user types. Whether you fall into the commercial-purpose (internet-selling) class is settled with your legal adviser. Basis: Law art. 2/1-i, 7/2; Regulation art. 3/1-l, 4/1. |
| What is recorded? | For each connection: internal IP, start and end time, MAC, destination IP, NAT IP and port (Regulation art. 3/1-e). The record maps to an alias code, and the alias code to the resident or staff member. |
| How long is it kept? | Two years (Regulation art. 4/1-b). Even if a student leaves the dormitory, the record stays in the archive until the period ends; izgate defaults to two years and keeps live records and the archive in parallel. |
| How is it signed? | The Regulation does not make timestamps mandatory for public use providers; izgate signs records hourly (SHA-256 chain + Ed25519), takes a qualified Kamu SM timestamp once a day (Law 5070 art. 3/h) and verifies integrity every night. |
Source: Law No. 5651 (Official Gazette 23.05.2007, no. 26530) and the Regulation on Internet Public Use Providers (İnternet Toplu Kullanım Sağlayıcıları Hakkında Yönetmelik; BTK, Official Gazette 11.04.2017, no. 30035), mevzuat.gov.tr; texts verified as of 4 October 2026. The retention period is two years (Regulation art. 4/1-b); the earlier regulation dated 1/11/2007 was repealed by art. 14 of the 2017 Regulation.
How does a resident connect to the dormitory network?
A resident verifies on the portal with the record transferred from the dormitory's system, and each device is tied to that person. The options can be combined to suit the size of the dormitory:
- List sync: The resident list in your registration system is pulled by API at intervals (15 minutes to 24 hours, with field mapping). A newly arrived student can be transferred in advance by pre-registration.
- Local Wi-Fi account: Without a system integration, an administrator creates accounts in the panel; enough for small hostels.
- SMS: The student receives a code on their phone number. Within the remember-device period (1 hour to 30 days) the same device is not asked again, so SMS is not spent every night.
- Device limit: 1 to 100 simultaneous devices per person; once the limit is reached a new device is rejected.
- Night attendant: With the Guest Reception role they see only visitor codes and device lists, not the rest of the panel.
In a dormitory housing minors, do not enable the "block under 18" option in Turkish ID verification; it is meant only for networks aimed at adult users.
How are student, staff and visitor networks separated?
The separation is built in your firewall's segment design, not in izgate; izgate defines each network separately and applies access rules per network. A dormitory typically has these networks:
- Resident network: Per-person device limit, daily connection allowance and session duration are set for this network.
- Management and office network: Administration, registration and accounting computers sit on the staff network, authenticated through AD/LDAP or RADIUS.
- Technical device network: Cameras, turnstiles and fire panels run in their own segment without mixing with the student network.
- Visitor network: Parents and guests connect on weekends with a short-lived visitor code limited by duration and use count.
For how to separate segments, see Why Should Guest and Staff Networks Be Separated?. For harmful and unwanted domains, izgate DNS Security blocks the gambling, adult content, phishing and malware categories by default. The filter works at domain-name level; keep in mind that a device using a VPN can bypass it.
A request at midnight: a dormitory example
The most common situation in dormitories is a question about a transaction made through the line at night. Here is how izgate works in that case.
A competent authority requests records for a transaction made from the dormitory line at night; management does not know which student or device it was.
The record filtered in the panel by time window and destination address is tied to one alias code (mg-2b90d4); the code resolves to the owner of the record that came from the resident list.
The dormitory answers the request with a signed record package limited to one person; the other residents' records are not part of the package.
- Time
- 2026-11-14 01:42:18
- Internal IP
- 10.30.7.96
- MAC
- 8C:85:90:1E:44:B2
- User
- mg-2b90d4 → Resident student (M.K.)
- Destination
- 142.250.xx.xx : 443
- NAT (real) IP:port
- 91.xx.xx.xx : 41872
- Device
- FortiGate-Dorm-B
What does izgate do at a dormitory?
izgate works in two layers: the verification flow the student sees, and the record, report and alert side that dormitory management runs from the panel.
- List sync and pre-registrationThe resident list is pulled from your own system by API; a new student is transferred in advance and only does a brief check on the portal.
- Per-person device limitThe number of simultaneous phones, laptops and tablets is limited; once the limit is reached a new device is rejected.
- Remember device and daily allowanceThe same device is not asked for a code again within the chosen period; the daily connection allowance is set per network.
- Staff network apart from residentsManagement and office computers sign in with AD/LDAP or RADIUS and never mix with the resident network.
- One-click registration of unrecognized devicesGame consoles and smart TV sticks that cannot open the portal show up in the panel and are registered in one click with a responsible person.
- Alerts and notificationsDevice offline, archive integrity error and disk warnings are sent by email or Telegram.


How is it set up at a dormitory?
Device verification
The firewall of each dormitory building is added to the panel; the registration is verified with the serial number read from the device (FortiGate REST API, MikroTik SSH).
Networks and rules
Resident, visitor and staff networks are defined separately; each gets its own session duration, daily allowance and device limit.
Login method and portal
List sync, SMS or visitor code is chosen; the portal is published with the dormitory logo and the KVKK privacy notice.
At the start of the term the new resident list is transferred; you can block a student who leaves from the Users screen. The night attendant makes no technical settings and only generates a visitor code in exceptional cases.
Compliance checklist for dormitories
Run through these points at the start of a term or when bringing a new building online.
- Are access records stored electronically and kept for two years?
- Is every device tied to a resident or staff member, with no shared password left?
- Does the per-person device limit suit your resident profile?
- Are devices that cannot open the portal, such as consoles and smart TVs, registered?
- Are the management, camera and visitor networks separate from the student network?
- Is content filtering (DNS Security and/or the firewall web filter) active and current?
- Does the archive integrity check run, and is signed export ready?
Related features and guides
Most used feature pages for this sector: Login Methods, Access Rules, Users, Guest Networks, DNS Security, Reports.
Related guides: Why Should Guest and Staff Networks Be Separated?, Guest Wi-Fi and KVKK: Privacy Notice and Legal Basis, How Do Printers, Robots and IoT Devices Pass a Captive Portal?.
Neighboring industries: For daytime classroom networks see schools and education, for short-stay businesses hotels and hospitality, and for multi-unit rental buildings serviced apartments and rentals.
Frequently asked questions
Can a per-student device limit be set in a dormitory?
Yes. Access rules define 1 to 100 simultaneous devices per person; once the limit is reached a new device is rejected. You set the limit to suit your resident profile.
How is access closed when a student leaves the dormitory?
Session duration and remember-device period are set per network. You block the student on the Users screen, which closes access; past records stay in the archive for the retention period.
How do game consoles and smart TVs connect?
Devices that cannot open the portal appear in the Unrecognized Devices list. They are registered in one click together with a responsible person; on FortiGate the portal exemption is set automatically. That record stays tied to a person too.
Does a dormitory need an operating permit?
An operating permit (Law art. 7/1) is only for "commercial-purpose" public use providers: internet cafes and similar places that provide internet for a fee (Regulation art. 3/1-l). Whether Wi-Fi offered as part of lodging falls into that class depends on how it is presented; if you sell a separate paid internet package, consult your legal adviser.
How does this differ from the schools and education page?
The school page covers daytime classroom networks, student-teacher-parent profiles and lesson-hour limits. A dormitory is residential: the network is open 24 hours, each person has many devices, and night duty and visitor flow are managed separately.
How is content filtering provided in a dormitory?
izgate DNS Security blocks categories such as gambling, adult content, phishing and malware by domain name; your firewall's web filter can be used in addition. A device using a VPN can bypass a domain-name filter, so plan with that limit in mind.
This page is for information only; for the current text of the legislation, refer to the official source (mevzuat.gov.tr).



