User:Mernits: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Mernits (talk | contribs)
Mernits (talk | contribs)
Line 52: Line 52:


NIC 0  - NAT -to get internet
NIC 0  - NAT -to get internet
NIC 1  - for ssh / http from host IP 192.168.56.102 (or 101)
NIC 1  - for ssh / http from host IP 192.168.56.102 (or 101)
NIC 2  - internal 10.10.10.1
NIC 2  - internal 10.10.10.1
NIC 2  - external 10.1.1.1
NIC 2  - external 10.1.1.1


===Configure wordpress===
===Configure wordpress===

Revision as of 14:12, 6 October 2011

Shaper installation

Lab setup


|-----------|
|  Victim   |
|wordpress  |
|-----------|
NIC1 - NAT - to Internet
NIC2 - internal 10.1.1.2

|
|
NIC3 - internal 10.1.1.1

|------------------|
| shaper           |
|NIC 1 - NAT       |
|NIC 2 - host only |
|NIC 3 internal    |
|NIC 4 internal    |
|------------------|
NIC 4 - internal 10.10.10.1
|
|
NIC 1 internal 10.10.10.2
|------------------|
| Attacker         |
| NIC 1 - internal |
|                  |
|------------------|

Virtual machines

Get from Margus


Config

Configure attacker

NIC internal IP 10.10.10.2 GW 10.10.10.1 Netmask 255.255.255.0

nameserver 8.8.8.8


Configure router/traffic shaper

NIC 0 - NAT -to get internet

NIC 1 - for ssh / http from host IP 192.168.56.102 (or 101)

NIC 2 - internal 10.10.10.1

NIC 2 - external 10.1.1.1

Configure wordpress

NIC 0 - internal 10.1.1.2 NIC 1 - host only - ssh/web browser

Links

Virtual networks with virtualbox - http://www.virtualbox.org/manual/ch06.html

Linux router - http://www.stanford.edu/~fenn/linux/