[GH-ISSUE #641] Limiting access to docker container to/from internet #286

Closed
opened 2026-02-26 10:31:37 +03:00 by kerem · 2 comments
Owner

Originally created by @oleua on GitHub (Jun 28, 2023).
Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/641

Originally assigned to: @igwyd on GitHub.

Hi! I use OnlyOffice in a docker container as a service for Nextcloud. I would like to restrict access to the OnlyOffice docker container from and to Internet. Please, give your advice, how to arrange that without making troubles to its functioning (with the means of docker itself/iptables whatever). Thank you.

Originally created by @oleua on GitHub (Jun 28, 2023). Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/641 Originally assigned to: @igwyd on GitHub. Hi! I use OnlyOffice in a docker container as a service for Nextcloud. I would like to restrict access to the OnlyOffice docker container from and to Internet. Please, give your advice, how to arrange that without making troubles to its functioning (with the means of docker itself/iptables whatever). Thank you.
kerem 2026-02-26 10:31:37 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@igwyd commented on GitHub (Jun 29, 2023):

Hello @ostasevych, with docker i see only using internal network option --internal=true, but there may be problems with opening documents. Using proxy servers and a firewall I think would be the right thing to do in local network. Unfortunately, we do not have guides on how to set up a network, because this is the task of network administrators, network settings depend on the specific requirements of users and can be very different. Our containers don't need constant internet access to work, so you can isolate as you wish.

<!-- gh-comment-id:1613132771 --> @igwyd commented on GitHub (Jun 29, 2023): Hello @ostasevych, with docker i see only using internal network option ```--internal=true```, but there may be problems with opening documents. Using proxy servers and a firewall I think would be the right thing to do in local network. Unfortunately, we do not have guides on how to set up a network, because this is the task of network administrators, network settings depend on the specific requirements of users and can be very different. Our containers don't need constant internet access to work, so you can isolate as you wish.
Author
Owner

@Rita-Bubnova commented on GitHub (Aug 25, 2023):

We close this issue. Feel free to comment or reopen it if you got further questions.

<!-- gh-comment-id:1693497625 --> @Rita-Bubnova commented on GitHub (Aug 25, 2023): We close this issue. Feel free to comment or reopen it if you got further questions.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-DocumentServer-ONLYOFFICE#286
No description provided.