[Discuss] Trying to connect to internet in Debian

Rich Pieri richard.pieri at gmail.com
Thu Jan 15 21:05:52 EST 2026


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/


More information about the Discuss mailing list