Instalation
aptitude install python-dev pip install nwdiag # will generate a png file diag1.png nwdiag diag1.conf
Example 1: FW with one segment
{ public [shape = cloud]; public -- firewall; network inside { address = "192.168.100.x/24" firewall [address = "192.168.100.1"]; web01 [address = ".11"]; cachesrv [address = ".51"]; db1 [address = ".101"]; } }
Example 2: FW with dmz and inside segment
{ public [shape = cloud]; public -- firewall; network dmz { address = "192.168.200.x/24"; firewall [address = "192.168.200.1"]; web01 [address = ".11"]; cachesrv [address = ".51"]; } network inside { address = "192.168.100.x/24" firewall [address = "192.168.100.1"]; db1 [address = ".101"]; } }
Thanks this info was really helpful! I used a website called Lucidchart as a network diagram generator and it was really easy to understand. If you use diagrams often you should check it out!
ReplyDeleteYou can find more network diagram examples in creately diagram community. They are easily customizable and free to use as well.
ReplyDelete