News: This forum is now permanently frozen.
Pages: [1]
Topic: how to create a staic route between 2 monowall firewall  (Read 1546 times)
« on: September 04, 2012, 14:27:16 »
kirans20 *
Posts: 2

hi,
I created 2 monowall firewalls with LAN and WAN interfaces.
1.monowall1--LAN=20.0.0.0/24 WEBGUI=20.0.0.1 WAN=10.0.24.20/16 GAteway=10.0.0.1.1system i assigned 20.0.0.2/24 GW:20.0.0.1 dns:20.0.0.1. from this cleint internet working fine
2..monowall2--LAN=30.0.0.0/24 WEBGUI=30.0.0.1 WAN=10.0.24.30/16 GAteway=10.0.0.1.1system i assigned 30.0.0.2/24 GW:30.0.0.1 dns:30.0.0.1. from this cleint internet working fine.

All the above setup connected to 1 single switch.
How to add static route between 20 and 30 series.
« Reply #1 on: September 05, 2012, 23:01:39 »
Јаневски ***
Posts: 153

[internet]                                                                                [internet]
      |                                                                                              |
      |eth0 x.y.z.k/p                                                                          |eth0 m.n.o.i/j
[m0n01]eth1--192.168.0.1/24---------------192.168.0.2/24--eth1[m0n02]
      |eth2 10.0.1.1/24                                                                    |eth2 10.0.2.1/24
      |eth0 10.0.1.2/24                                                                    |eth0 10.0.2.2/24
   [PC1]                                                                                       [PC2]

To the m0n01 add static route:
route add -net 10.0.2.0/24 gw 192.168.0.2

To the m0n02 add static route:
route add -net 10.0.1.0/24 gw 192.168.0.1

Allow traffic.

« Reply #2 on: September 07, 2012, 15:19:51 »
kirans20 *
Posts: 2

Thanks and 1 morething. after adding route systems can ping from 1 network to another . or we have to allow ICMP traffic.
Tell me where to add route info.

« Reply #3 on: September 08, 2012, 04:51:54 »
Јаневски ***
Posts: 153

You can add routes by clicking on the upper left entry of the m0n0 web gui menu called "System>Static Routes".
Yes, You'll need to add rules for the LAN and OPT1 interface to allow traffic to pass through them, go to the menu "Firewall>Rules".
Assuming that You have done all of the configuration correctly You'll then be able to pass traffic through the subnets, ICMP included.

 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines