Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Help about MediaWiki
FUTO
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Introduction to a Self Managed Life: a 13 hour & 28 minute presentation by FUTO software
(section)
Main Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Step 7: Make iptables Rules Persistent === To make sure the iptables rules are applied after a reboot, you need to save them and configure them to load automatically on startup. <ol style="list-style-type: decimal;"> <li><p>Install the iptables-persistent package:</p> <pre>sudo apt install iptables-persistent</pre></li> <li><p>During installation, you’ll be asked if you want to save the current iptables rules. Choose '''Yes'''.</p></li> <li><p>If you’re not prompted, you can manually save the rules by running:</p> <pre>sudo netfilter-persistent save</pre> <blockquote><p>'''NOTE:''' Installing <code>iptables-persistent</code> is what allows your iptables rules to stick after a reboot. This is a server - you’re not going to turn this off very often. Nine months from now when you DO turn off this server, you’re not going to remember a single damn character from this guide; much less that iptables rule above! Nor will you remember that that rule not being present is why none of your virtual machines work.</p></blockquote></li> <li><p>Confirm the rules are saved by checking the file at <code>/etc/iptables/rules.v4</code>.</p></li></ol> With these changes, your bridge interface will now correctly allow traffic to flow through the virtual machines. The iptables rules will persist across reboots, and your virtual machines will be able to grab IP addresses from the same network as your host machine. <span id="preparing-ubuntu-server-for-virtual-machine-management"></span>
Summary:
Please note that all contributions to FUTO may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
FUTO:Copyrights
for details).
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:
Cancel
Editing help
(opens in new window)