Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Help about MediaWiki
FUTO
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Introduction to a Self Managed Life: a 13 hour & 28 minute presentation by FUTO software
(section)
Main Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== 3.3 Configure Firewall (UFW) ==== UFW (Uncomplicated Firewall) provides a user-friendly interface for managing iptables. There is no need for anything besides onlyoffice to ever contact our WebDAV server, so we are going to make sure only localhost can contact our WebDAV server. If you think this is ridiculous, it is. Onlyoffice needs to let me access files on my local server that are already there. <ol style="list-style-type: decimal;"> <li><p>'''Allow all outgoing traffic:'''</p> <pre>sudo ufw default allow outgoing</pre></li> <li><p>'''Allow incoming traffic on port 8080 from specific sources:'''</p> <pre>sudo ufw allow from 192.168.5.5 to any port 8080 proto tcp sudo ufw allow from 127.0.0.1 to any port 8080 proto tcp sudo ufw allow from 172.17.0.0/16 to any port 8080 proto tcp sudo ufw allow from 172.18.0.0/16 to any port 8080 proto tcp</pre> <p>This allows HTTPS traffic to WsgiDAV only from specific IP ranges.</p></li> <li><p>'''Enable the firewall:'''</p> <pre>sudo ufw enable</pre> <p>This activates the firewall with the configured rules.</p></li></ol> <span id="step-4-make-sure-this-works"></span>
Summary:
Please note that all contributions to FUTO may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
FUTO:Copyrights
for details).
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:
Cancel
Editing help
(opens in new window)