Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month, online, via Jitsi Meet.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Trying to connect to internet in Debian



On Thu, 15 Jan 2026 19:40:20 -0500
"Randall Rose" <rrose at pobox.com> wrote:

> Unfortunately I am in a situation where I need to rebuild some
> machines with only a Debian and a Fedora install disk to work from.
> With Debian, it's hard to connect to the internet since Debian
> doesn't like to provide a firewall in the initial install.

If you're using ufw then you don't do any of what you've done with
iptables. Out of the box, ufw permits all outbound connections and
denies all inbound connections.

Install base OS, configure networking. Do NOT enable any iptables
rules or services because they WILL conflict with ufw. Make sure this is
working before you do anything else. Then you can install ufw and start
the service:

        sudo systemctl enable --now ufw

and you're done. From here I suggest reviewing the Arch Linux wiki
article for ufw. It has useful examples of things you can do such as
permitting port 22 from the local network.

-- 
\m/ (--) \m/



Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org