-
Notifications
You must be signed in to change notification settings - Fork 2
Enable internet access for microVM #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Steps to Give Internet Access on Linux1. Enable IP ForwardingThis allows the Linux system to forward network packets from one interface to another (e.g., from a local network to the internet): sudo sysctl -w net.ipv4.ip_forward=1 To make this setting permanent (persist after reboot), edit
Then reload the settings: sudo sysctl -p 2. Set Up NAT with
|
@restuhaqza, the feature you requested is already available in the latest version, and it uses As for configuring DNS, I plan to add a new feature similar to cloud userdata, which will make it easier to configure any settings or applications before the microVM starts. Thank you for raising this concern |
Hi maintainers,
First of all, thanks for the great work on the firecracker-python project! It really simplifies managing Firecracker microVMs programmatically.
I would like to request a new feature:
the ability to configure and grant internet access (NAT/bridged networking) to a specific microVM instance directly through the firecracker-python API or CLI.
Background
Currently, setting up internet access for Firecracker microVMs typically involves manual configuration of tap devices, bridges, and iptables rules outside of Firecracker. It would be very helpful if firecracker-python could provide higher-level abstractions or helper methods to:
Benefits
Possible Approaches
I would be happy to contribute or discuss design ideas if there's interest.
Thank you!
The text was updated successfully, but these errors were encountered: