Jump to content
Nytro

isowall – Completely Isolate A Device From The Local Network

Recommended Posts

Posted

isowall – Completely Isolate A Device From The Local Network

Isowall is a mini-firewall that allows you to completely isolate a device from the local network. This is for allowing infected machines Internet access, but without endangering the local network.

15899767615_f0678ec04c.jpg

Building

This project depends upon libpcap, and of course a C compiler.

On Debian, the following should work:

[TABLE=class: crayon-table]

[TR=class: crayon-row]

[TD=class: crayon-nums] 1

2

3

4

[/TD]

[TD=class: crayon-code]# apt-get install git gcc make libpcap-dev

# git clone https://github.com/robertdavidgraham/isowall

# cd isowall

# make

[/TD]

[/TR]

[/TABLE]

This will put the binary isowall in the local isowall/bin directory.

This should also work on Windows, Mac OS X, xBSD, and pretty much any operating system that supports libpcap.

Running

First, setup a machine with three network interfaces.

The first network interface (like eth0) will be configured as normal, with a TCP/IP stack, so that you can SSH to it.

The other two network interfaces should have no TCP/IP stack, no IP address, no anything. This is the most important configuration step, and the most common thing you’ll get wrong. For example, the DHCP software on the box may be configured to automatically send out DHCP requests on these additional interfaces. You have to go fix that so nothing is bound to these interfaces.

To run, simply type:

[TABLE=class: crayon-table]

[TR=class: crayon-row]

[TD=class: crayon-nums] 1

[/TD]

[TD=class: crayon-code]# ./bin/isowall --internal eth1 --external eth2 -c xxxx.conf

[/TD]

[/TR]

[/TABLE]

Configuration

The following shows a typical configuration file

[TABLE=class: crayon-table]

[TR=class: crayon-row]

[TD=class: crayon-nums]1

2

3

4

5

6

7

8

9

10

11

12

[/TD]

[TD=class: crayon-code]internal = eth1

internal.target.ip = 10.0.0.129

internal.target.mac = 02:60:8c:37:87:f3

external = eth2

external.router.ip = 10.0.0.1

external.router.mac = 66:55:44:33:22:11

allow = 0.0.0.0/0

block = 192.168.0.0/16

block = 10.0.0.0/8

block = 224.0.0.0-255.255.255.255

[/TD]

[/TR]

[/TABLE]

You can download isowall here:

master.zip

Or read more here – the author can be found on Twitter here @erratarob.

Sursa: isowall - Completely Isolate A Device From The Local Network - Darknet - The Darkside

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...