Virtualbox question about isolating the WAN interface



  • Hi, I'm not very good with Linux so have mercy please

    But I need a bit of help with my new Linux mint xfce PC with 2 network adapters and Virtualbox

    WAN is connected to one of the network cards of this PC
    I disabled the IP4 and IP6 configuration here to avoid that the PC can talk to WAN
    This WAN interface is connected in bridge mode to the Virtualbox pfsense VM, this works well
    But is this the proper way to connect WAN to a VM ?
    Is there a good guide out there somewhere on how to isolate WAN from the host OS ?

    The 2nd network adapter is of course LAN with IP 192.168.1.2 and gateway 192.168.1.1 (pfsense VM)
    This also works well, but I get disconnected from the host (192.168.1.2) if I shut down the pfsense VM (192.168.1.1)
    I guess because pfsense is the gateway

    Is there a way to remote connect to the PC with the gateway offline ?
    There is no mouse/keyboard/monitor connected to this PC



  • @Banana-man said in Virtualbox question about isolating the WAN interface:

    I disabled the IP4 and IP6 configuration here to avoid that the PC can talk to WAN

    What do you mean by that?



  • In Linux (mint) is set both IP4 and IP6 to nothing for WAN
    Now Linux doesn't get any WAN traffic

    It goes to pfsense first and comes back to LAN
    This works but I think I'm creating a mess


Log in to reply