Skip to content
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

qemudriver: add support for netdev option in add_port_forward #1391

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on May 5, 2024

  1. qemudriver: add support for netdev option in add_port_forward

    In case there are more `user` network interfaces defined, allow to
    specific the netdev. If omitted, an empty string is passed and the
    behaviour is like before.
    
    This is useful for testing OpenWrt inside a QEMU instance, since OpenWrt
    expects by default a LAN interface on eth0 and a WAN interface (with
    uplink) on eth1. Previously the port forward would always be added to
    eth1, which doesn't support SSH due to firewall policies. By adding the
    netdev to the forward function, the SSHDriver works as expected.
    
    Signed-off-by: Paul Spooren <[email protected]>
    aparcar committed May 5, 2024
    Configuration menu
    Copy the full SHA
    3858db5 View commit details
    Browse the repository at this point in the history