Skip to content
Snippets Groups Projects
Commit b2084a9c authored by Renato Riccieri Santos Zannon's avatar Renato Riccieri Santos Zannon
Browse files

Add IP forwarding config to archlinux guide

I had this small issue when following this guide on my Arch box, and I don't think it is specific to any configuration I have.
parent 7ff2e6b7
No related branches found
No related tags found
No related merge requests found
......@@ -67,3 +67,21 @@ To start on system boot:
::
sudo systemctl enable docker
Network Configuration
---------------------
IPv4 packet forwarding is disabled by default on Arch, so internet access from inside
the container may not work.
To enable the forwarding, run as root on the host system:
::
sysctl net.ipv4.ip_forward=1
And, to make it persistent across reboots, enable it on the host's **/etc/sysctl.conf**:
::
net.ipv4.ip_forward=1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment