Jump to content

How to setup a LAN-Only VM? (ideally using iptables)


Dav3

Recommended Posts

Hi,

 

TLDR Question:  Can anyone point me to instructions on how to create a LAN-ONLY VM?  Ideally using only unraid's native iptables as the firewall.

 

Detailed version:

 

Due to a recent hack/IP-loss incident, I'm trying to use Unraid to set up a 'software assured' (IP protected) Windows environment where my proprietary IP can't leave the LAN.

 

So far I've successfully set up a Windows VM that supports GPU- passthrough, etc.  Now I need to firewall this VM to the LAN (block all WAN) and would like to use Unraid to do this.  I've installed a 2nd NIC and have eth0 & eth1 visible in settings/network.  I'm planning on creating a 2nd VM (accessible from the Windows VM via VNC/etc) that does have WAN access.

 

Is there a way to bind this Windows VM to the eth1 NIC & use unraid's native iptables routing the eth1 interface to block-all + allow-lan?

 

Help would be greatly appreciated.  Thanks.

 

Edited by Dav3
fixed br0 missing issue
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...