Welcome, Guest. Please login or register.
Did you miss your activation email?
Saturday 23 November 2024, 01:22:21 am

Login with username, password and session length

Get the new Updates directly from Endian  HERE
14258 Posts in 4377 Topics by 6516 Members
Latest Member: DaveH
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  Routeback on GREEN
0 Members and 0 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Routeback on GREEN  (Read 11117 times)
apocalipsys
Jr. Member
*
Offline Offline

Posts: 2


« on: Tuesday 17 March 2009, 04:12:04 am »

Hi everyone. As i'm new to efw. We need to allow a routing for some ips through the GREEN eth. Unfortunelly we reach the destination but we can't reach the mail server that must be routed. I left a diagram for what we need. Hope you can help us.

                                                WAN
                                                   |
                                                 EFW------DMZ
                                                   |
           MailServer----Router-----LAN-------Clients
                                                   

Lets asum the following ips:

WAN: 10.0.0.1
DMZ: 192.168.0.1
LAN: 172.28.119.200
Router: 172.28.119.53
Clients: 172.28.119.x

What i need is to route the traffic for the IP 192.3.52.103 through the internal Router and not to using NAT for the LAN request and a routeback (Shorewall Terms) for those conections.
Logged
mrkroket
Hero Member
*****
Offline Offline

Posts: 495


« Reply #1 on: Friday 20 March 2009, 01:36:40 am »

I'm new to efw, but you can try to add it manually to file '/etc/rc.d/init.d/rc.local'
Add there your static route, and you should have something like:

Code:
#!/bin/sh

. /etc/rc.d/efw_lib.sh

route add -net 192.3.52.0/24 gw 172.28.119.53

exit 0
Restart the firewall, and check in Status->Network the routing table.
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