User:Mernits: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Mernits (talk | contribs)
Mernits (talk | contribs)
Line 1: Line 1:
=Shaper installation=


==Lab setup==
http://blogs.fsfe.org/myriam/2011/10/when-is-a-bug-report-useful/
<pre>
 
|-----------|
|  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 |
|                  |
|------------------|
</pre>
 
==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


=Cheat sheet=
=Cheat sheet=

Revision as of 12:55, 20 October 2011

http://blogs.fsfe.org/myriam/2011/10/when-is-a-bug-report-useful/

Cheat sheet

ip route show
ip rule show

Links

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

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