Skip to content

Add option to use SLIRP NAT for external connections; enable pcap for vpnguin traffic#562

Merged
zestrada merged 3 commits intomainfrom
external-networking
May 1, 2025
Merged

Add option to use SLIRP NAT for external connections; enable pcap for vpnguin traffic#562
zestrada merged 3 commits intomainfrom
external-networking

Conversation

@zestrada
Copy link
Member

@zestrada zestrada commented Apr 18, 2025

A possible implementation for #499

Future versions of QEMU allow us to specify a network other than 10.0.2.0/24 so I've got that code in there but commented out.

This does add a top-level network configuration, with optional support for pcap capture. Example usage:

network:
  external:
    pcap: true

Definitely open to feedback on implementation, interface, etc...

@zestrada
Copy link
Member Author

Updated to add support for VPN pcap as well, after merge of rehosting/vpnguin#24

plugins:
  vpn:
    pcap: true

When enabled, a vpn.pcap file will be generated in outdir

@zestrada zestrada force-pushed the external-networking branch from 5a7be96 to 97bdc24 Compare April 29, 2025 13:33
@zestrada zestrada changed the title Add option for to use SLIRP NAT for external connections Add option to use SLIRP NAT for external connections Apr 29, 2025
@zestrada zestrada changed the title Add option to use SLIRP NAT for external connections Add option to use SLIRP NAT for external connections; enable pcap for vpnguin traffic May 1, 2025
@zestrada zestrada force-pushed the external-networking branch from bfa40bb to 2fb2b6b Compare May 1, 2025 19:09
@zestrada zestrada merged commit 20da61d into main May 1, 2025
17 checks passed
@zestrada zestrada linked an issue May 6, 2025 that may be closed by this pull request
@lacraig2 lacraig2 deleted the external-networking branch February 9, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

External networking

1 participant