An area I am a n00b at is setting up a firewall for the system. I'm
running
Debian Buster and if I am correct there is no out of the box firewall software that comes with the default install?
I think that "ufw" is probably the easiest frontend to ip tables.
An area I am a n00b at is setting up a firewall for the system. I'm running Debian Buster and if I am correct there is no out of the box firewall software that comes with the default install?
I have a heavy duty router on my home LAN that I can use to port forward say BinkP traffic to the Linux box and not allow anything else to it from the Internet... I figure this is a good first line of defense but am also wondering about how far to go with a firewall on the box itself?
Hey there
So I'm working on setting up my new Linux box to pick up the Fidonet
HUBing duties that a Windows system I run is currently handling.
An area I am a n00b at is setting up a firewall for the system.
Hey there
So I'm working on setting up my new Linux box to pick up the Fidonet HUBing duties that a Windows system I run is currently
handling.
An area I am a n00b at is setting up a firewall for the system. I'm running Debian Buster and if I am correct there is no ou
of the box firewall
software that comes with the default install?
I have had some distant past exposure to iptables using a raspberry pi but that's about it, and that was not that fun.
I'm wondering what would be best to install such that I can easily open ports to allow hub and bbs software to work with
incoming and outgoing traffic
being allowed to flow.
I have a heavy duty router on my home LAN that I can use to port forward say BinkP traffic to the Linux box and not allow
anything else to it from the Internet... I figure this is a good first line of defense but am also
wondering about how far to go with a firewall on the box itself?
What I don't want to end up with is a situation where I am struggling to get software to work on the box because I can get i
to connect in/out from the internet due to a firewall causing me grief.
So there we are, your tips and advice as to what I should do and how to approach this would be appreciated :)
Thanks :)
I dont firewall internal systems (or said another way, non-internet facing systems).
If you have a device infront of it (which you say you do), then that is your firewall.
You just made me sad right there.
As I have said elsewhere, if you are using an ISP issued router or a low quality firewall, you lack proper protection. Specially if you are in an ipv6 enabled network. Spanish Orange ISP once managed to screw everybody who had complex LAN topologies and managed to get them exposed to the Internet so I think running even some simple filtering inside the LAN is a must.
I agree that is excessive, but point is setting an easy firewall costs no effort and the LAN is not something you should be blindy trusting unless you are the sole user. And probably even then.
wondering about how far to go with a firewall on the box itself?
So there we are, your tips and advice as to what I should do and how to approach this would be appreciated :)
I might be a bit relaxed because I have everything run in a docker container (another benefit). Inside the running container is a jail - so if somebody did break the application and install a backdoor (or run a trojan), then resetting the container (well technically deleting and re-creating) instantly removes anything not part of the image. Until I discover the trojan/back door, they are inside a jail with limited tools and resources.
Running in a Docker container being inheriently more secure is a common misconception / pitfall.
Kind of. The 'iptables' command is there and is linked to the 'iptables-nft' command. nftables is used as the firewall backend, and comes with an empty ruleset.
See: https://wiki.debian.org/nftables#nftables_in_Debian_the_easy_way
I dont firewall internal systems (or said another way, non-internet
facing systems).
If you have a device infront of it (which you say you do), then that is your firewall.
I might be a bit relaxed because I have everything run in a docker
Why and for what do you need a firewall?
If you have not much of a clue and you need some quick solution, just install ufw. Or gufw for a gui.
wondering about how far to go with a firewall on the box itself?
Running at this level even behind a "hardware" FW is always a good idea.
I'd look into firewalld -- it's easy to deal with. Here is a Guide for Debian Buster:
https://computingforgeeks.com/how-to-install-and-configure-firewalld-on-de
A BSD style Jail is a good layer, but this is VERY differnet than a
Docker container.
NuSkooler wrote (2021-01-24):
A BSD style Jail is a good layer, but this is VERY differnet than a Docker container.
Do you know if there are differences between the BSDs (Free/Net/Open/DragonflyBSD) regarding Jails? I used Smartos (Illumos kernel (open sourced Solaris)) on a VPS for some time and the Zones there were grea
Thanks. Just to clarify, what do you me 'at this level'? I'm guessing 'a box that handles IP traffic on assorted ports from the Internet' counts? :)
Do you know if there are differences between the BSDs (Free/Net/Open/DragonflyBSD) regarding Jails? I used Smartos (Illumos kernel (open sourced Solaris)) on a VPS for some time and the Zones there were great.
Yeah, so:
{ internet } <-> [ dedi firewall ] <-> [[ soft fw - ipf/etc.] your
service ]
Where the last box on the Right is a server/vm/docker host/whatever running iptables/similar/similar.
Do you know if there are differences between the BSDs
(Free/Net/Open/DragonflyBSD) regarding Jails? I used Smartos (Illumos
kernel (open sourced Solaris)) on a VPS for some time and the Zones
there were grea
OpenBSD has no jails.
We rely mainly on chroot+privilege separation at this point. We have a
set of calls that work more or less like Linux' seccomp.
Re: Linux Firewall
By: Avon to All on Sun Jan 24 2021 09:12 pm
Hey there
So I'm working on setting up my new Linux box to pick up the Fidonet HUduties that a Windows system I run is currently
handling.
An area I am a n00b at is setting up a firewall for the system. I'm runDebian Buster and if I am correct there is no ou
of the box firewall
software that comes with the default install?
I have had some distant past exposure to iptables using a raspberry pithat's about it, and that was not that fun.
I'm wondering what would be best to install such that I can easily openports to allow hub and bbs software to work with
incoming and outgoing traffic
being allowed to flow.
I have a heavy duty router on my home LAN that I can use to port forwar
BinkP traffic to the Linux box and not allow
anything else to it from the Internet... I figure this is a good firstof defense but am also
wondering about how far to go with a firewall on the box itself?
What I don't want to end up with is a situation where I am struggling t
software to work on the box because I can get i
to connect in/out from the internet due to a firewall causing me grief.
So there we are, your tips and advice as to what I should do and how toapproach this would be appreciated :)
Thanks :)
If you have not much of a clue and you need some quick solution, just install ufw. Or gufw for a gui.
Having the router doing the firewalling is a must, but I like to have packet filtering running on the hosts just in case the
router has trouble. I have had ISP isued routers reset their firewall rules and
expose big chunks of the LAN to the Internet so
host based firewalling is important to have.
I use iptables directly myself. If you want to get started, duckduckgo
for Alienbob's iptables script. It is tailored for
slackware but should work for any Linux with iptables on it.
--
gopher://gopher.richardfalken.com/1/richardfalken
--- SBBSecho 3.12-Linux
* Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (21:2/138)
NuSkooler wrote (2021-01-24):
A BSD style Jail is a good layer, but this is VERY differnet than a Docker container.
Do you know if there are differences between the BSDs (Free/Net/Open/DragonflyBSD) regarding Jails? I used Smartos (Illumos kernel (open sourced Solaris)) on a VPS for some time and the Zones
there were great.
---
* Origin: . (21:3/102)
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 31 |
Nodes: | 8 (0 / 8) |
Uptime: | 231:17:11 |
Calls: | 2,088 |
Calls today: | 2 |
Files: | 11,140 |
Messages: | 948,566 |