- How to get an OpenVPN client to use a pushed DNS from an OpenVPN server
- Headless setup of RaspbianOS with user and password
- raspiBackup in a nutshell
- Raspberry Compute Module 4 (CM4) setup guide on eMMC and NVMe
- raspiBackup - Support for Raspberry Compute Module 4 and NVMe
- raspiBackup - Supported hard- and software
- How to backup ACLs with rsync on a nfs mounted partition?
Protect Raspberry Pi against internet attacks and disable attacks into the local network with a firewall using iptables
- Category: Raspberry
- Also available:
- Hits: 11337
The Raspberry Pi is a nice system which is used a lot of time to provide server services to be accessible from worldwide. That's Owncloud, a HTTP server, seafile or other services..
A VPN is the right way to access the server in a secure way. But if you want to give a lot of people access there is no way other than to allow access direct from the internet. Usually you use a DMZ for this but that's a feature a normal home router doesn't have. But now you should protect the Raspberry from internet access as far as you can and also protect your home network from access from the pi server when an intruder managed to get access to the pi. But note: If an the intruder managed to get root access then the iptables firewall can be turned off very quickly. So it's very important to get SW updates on a regular base.
Following article describes how to configure an iptables firewall to protect it from unauthorized access from the internet and to protect a local home network to be attacked from the server - just in case.
Page 2 of 2