Welcome, Guest. Please login or register.
Did you miss your activation email?
Saturday 23 November 2024, 06:21:45 pm

Login with username, password and session length

CLICK HERE for the The official Endian Roadmap and Issue tracker
14258 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  EFW Static routing doesn't work properly (3.0.5 beta 1)
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: EFW Static routing doesn't work properly (3.0.5 beta 1)  (Read 8090 times)
Di4bLo
Full Member
***
Offline Offline

Posts: 39


« on: Friday 15 May 2015, 09:25:55 pm »

I had the same problem on 2.4.1 and 2.5.1.

Green 10.0.0.0/24
Gateway 192.168.0.2

I want to create a static route for the subnet 10.0.1.0/24 so I create (via GUI):
Source: 10.0.1.0/24
Destination 0.0.0.0
Via Gateway: 192.168.0.1

After applied, I can see it on the routes page, but it doesn't work.
Through the console I can see:

root@efw-1431589536:/ # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.0.0          *               255.255.255.0   U     0      0        0 br0
192.168.0.0    *               255.255.255.0   U     0      0        0 eth1
default         192.168.0.2     0.0.0.0         UG    0      0        0 eth1

root@efw-1431589536:/ # cat /var/efw/routing/config
on,10.0.1.0,0.0.0.0,192.168.0.2,Staff,,,,,,,

root@efw-1431589536:/ # ip rule show
0:      from all lookup local
5:      from all to 10.0.0.4/24 lookup main
5:      from all to 192.168.0.0/24 lookup main
10:     from all fwmark 0x10/0x7f8 lookup gateway-192.168.0.2
10:     from 10.0.1.0 to 0.0.0.0 lookup gateway-192.168.0.2
10:     from all to 10.0.0.0/24 lookup main
10:     from all to 192.168.0.0/24 lookup main
199:    from all fwmark 0x8/0x7f8 lookup uplink-main
200:    from 192.168.0.5 lookup uplink-main
32766:  from all lookup main
32767:  from all lookup default

Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Page created in 0.063 seconds with 18 queries.
Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Design by 7dana.com