Welcome, Guest. Please login or register.
Did you miss your activation email?
Saturday 23 November 2024, 08:05:39 am

Login with username, password and session length

Get the new Updates directly from Endian  HERE
14258 Posts in 4377 Topics by 6517 Members
Latest Member: Sandro
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  Different Outbound IPs on multiple IPs in main uplink
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Different Outbound IPs on multiple IPs in main uplink  (Read 15366 times)
sseitz
Jr. Member
*
Offline Offline

Posts: 3


« on: Sunday 07 June 2009, 04:27:33 am »

Hi,

i've recently  introduced a new server in ORANGE which is also reachable via RED (main uplink) by using a ALL:ALL Portforwarding Rule.
RED holds 6 IP's via "main uplink". I configured one IP as usual and five "additional". All of these IP's are in the same subnet.
If I connect via RED to this new server in ORANGE, everythink works as expected. If the server starts an outbound connection by itself,
it's always routed via the first IP of the "main uplink".
I'ld like to ask if it's possible to have this machine routed via on of the additional IP's?

I did some tweaking on console with eth3:1 eth3:2 and static routes which seemed to work, but I'ld like to configure it persistent (and always visible) via the web configurator.

I've also tried to add an additional uplink to the same interface, but it looks like every uplink wants its own interface ...
Logged
sseitz
Jr. Member
*
Offline Offline

Posts: 3


« Reply #1 on: Sunday 07 June 2009, 07:50:26 pm »

SOLVED.

Adding a SNAT Rule solved this issue.
Logged
itguy12
Jr. Member
*
Offline Offline

Posts: 3


« Reply #2 on: Friday 21 August 2009, 11:54:57 pm »

Can you be more specific? I have the same issue (multiple IPs on RED, all traffic is going out the primary). How did you setup your SNAT rules?
Logged
sseitz
Jr. Member
*
Offline Offline

Posts: 3


« Reply #3 on: Saturday 22 August 2009, 06:03:23 pm »

1. Firewall -> Portforwarding/NAT -> [Portforwarding]

add RED[your_Special_RED_IP]:ALL -> Your_local_Server:ALL

2. Firewall -> Portforwarding/NAT -> [Source NAT]

add :

Source [Net/IP] -> You_local_Server
Target [Zone/VPN/Uplink] -> Uplink main [ RED ]

Service/Port left as it is.

NAT [NAT] to Sourceaddress [Uplink main - IP: your_Special_RED_IP  Position: As First Rule


add:
Source [Net/IP] -> Network/IP Field left blank
Target [Zone/VPN/Uplink] -> Uplink main [ RED ]
Service/Port left as it is.

NAT [NAT] to Sourceaddress [Uplink main - IP: your_DEFAULT_RED_IP  Position: As LAST Rule



Apply Rules Wink


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