EFW Support
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Friday 15 November 2024, 01:57:38 am
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Get the new Updates directly from Endian
HERE
14255
Posts in
4377
Topics by
6515
Members
Latest Member:
hulteends
Search:
Advanced search
EFW Support
Support
General Support
Static route green interface
0 Members and 0 Guests are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: Static route green interface (Read 12255 times)
ilserver
Jr. Member
Offline
Posts: 4
Static route green interface
«
on:
Saturday 09 June 2012, 01:33:45 am »
Hi,
I read all the post regarding adding static routes on green if. All I have read didn't work. Adding command route add -net network/mask gw gwaddr if br0 on rc.interface.up before exit 0 don't have result
Anyone can explain how make permanent this type of routes??? efw vers. 2.5.1
Thanks a lot.
Logged
ilserver
Jr. Member
Offline
Posts: 4
Re: Static route green interface
«
Reply #1 on:
Monday 11 June 2012, 06:58:05 pm »
If someone have same problem I just find a working way:
Create a start.local file under /var/efw/inithooks/ folder;
Put inside the route command but *IMPORTANT* don't forgot to give full path to route command.
For example:
to add a route:
route add -net 192.168.x.x/24 gw 192.168.x.gw dev IFACE
use instead:
/sbin/route add -net 192.168.x.x/24 gw 192.168.x.gw dev IFACE
Probably the path var is not set when /var/efw/inithooks/start.local is processed
Logged
timupci
Full Member
Offline
Posts: 34
Re: Static route green interface
«
Reply #2 on:
Wednesday 13 June 2012, 03:00:43 am »
Use the GUI. Set Source to blank and then set destination and gateway. This will solve your issues.
Logged
ilserver
Jr. Member
Offline
Posts: 4
Re: Static route green interface
«
Reply #3 on:
Friday 15 June 2012, 12:25:33 am »
Thanx a lot! I'll try your way also.
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Project News
=> Latest News and Updates
-----------------------------
Support
-----------------------------
=> General Support
=> Installation Support
=> EFW SMTP, HTTP, SIP, FTP Proxy Support
=> VPN Support
=> Hardware Support
-----------------------------
Development
-----------------------------
=> EFW Wishlist
=> Contribute Your Customisations & Modifications
Page created in 0.063 seconds with 19 queries.
Powered by SMF 1.1 RC2
|
SMF © 2001-2005, Lewis Media
Design by
7dana.com