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

Login with username, password and session length

Visit the Official Endian Reference Manual  HERE
14250 Posts in 4377 Topics by 6515 Members
Latest Member: hulteends
Search:     Advanced search
+  EFW Support
|-+  Support
| |-+  General Support
| | |-+  Loopback through WAN?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Loopback through WAN?  (Read 17608 times)
chelcorob
Jr. Member
*
Offline Offline

Posts: 4


« on: Wednesday 03 December 2008, 02:42:17 am »

Hi

We have just switched over to Endian from an old SonicWall and we are trying to setup some sort of loopback rule, so that if a user tries to connect to our external IP when they are inside the network, it will connect and go through the relevant port forwarding rule to the correct destination.

For example we have some users with laptops who occasionally work from home so their email client is set to the WAN IP, but when they bring the laptop into the office they are unable to connect to the mail server without changing their email client to the LAN IP of the mail server.

This used to work fine on our old SonicWall but I don't know how it was setup so I'm not sure where I would need to look in Endian to do the same thing.

We are using 2.2 RC3.
Logged
wharfratjoe
Full Member
***
Offline Offline

Posts: 17


« Reply #1 on: Saturday 10 January 2009, 11:00:15 am »

Try adding a new host and point it to the Internal IP

Network > Host configuration

Example:

Ip: 192.168.1.5 hostname: mailserver_name domain: external_domain_name

I had to do this for https webmail server to resolve internally, so we could check emails if needed from the web.
Logged
zman818
Jr. Member
*
Offline Offline

Posts: 4


« Reply #2 on: Wednesday 28 January 2009, 11:49:39 am »

Unfortunately this approach doesn't allow port forwarding to be honored.

For example... if I'm forwarding    external:40080==>192.168.0.1:80   I'm unable to use the internal IP.  This is awkward at best (I have to remember to type in the internal IP) or impossible at worst (embedded links with the external IP no longer work).

Any tricks to get loopback routing to work?  Thanks.
Logged
brian2019
Jr. Member
*
Offline Offline

Posts: 2


« Reply #3 on: Wednesday 28 January 2009, 12:25:01 pm »

could you combine that first response with an internal redirection?

192.168.1.1 is the endian firewall

Network > Host configuration

Ip: 192.168.1.1 hostname: mailserver_name domain: external_domain_name
-------

and then port forward from 192.168.1.1:40080 to 192.168.1.5:80
-------
I'm making this up as I go..

Logged
npeterson
Full Member
***
Offline Offline

Posts: 90


« Reply #4 on: Saturday 14 February 2009, 05:55:27 am »

On the port forwarding rule, Do you only have the outside ip set to <ANY> or <ANY uplink>? I would assume you need to set it to ANY to catch all interfaces. Otherwise you will need to add a iptables entry to rc.firewall.local
Logged
dorf
Jr. Member
*
Offline Offline

Posts: 5


« Reply #5 on: Tuesday 24 February 2009, 07:35:59 am »

I'm having a similar issue, I recently posted about it in the VPN area because I'm not sure if my PPTP problem is related but....

I have a laptop and a desktop, when I'm out & about with the laptop I can connect back to the desktop with RDP using the FQDN or it's IP.  Previous to Endian I was able to do this from inside the LAN when using the laptop here.  I cannot do that any longer.  My previous firewall was IPCop, which is the base for Endian, so I'm at a loss as to why it wouldn't work.  Anyone have ideas?

thanks,

rjv
Logged
Caizi
Jr. Member
*
Offline Offline

Posts: 3


« Reply #6 on: Sunday 19 July 2009, 02:07:11 am »

Same problem Sad

In previus versions of Endian Firewall (like 2.0 / 2.1.x) it worked automatically without special setting. So why there is this change of NAT loopback behaviour in 2.2 version? I believed that this is problem only of RC version, but not :-(

Please does somebody know how to correct this?

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

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