This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Please help guys, NAT problem

We have one webaplication, we need to access this application with external ip address (from both LAN and WAN). External users nave no problem to access it (with NAT - EXT ADDR > INT ADDR).
But I can NOT access the app from LAN with EXT ADDR. But if I acctivate this NAT rule it works:LAN_MASQ2   LAN (Network) -> All / All   MASQ__LAN. This can't be good?


This thread was automatically locked due to age.
Parents
  • Best solution would probably be to put the webserver on another interface off of the firewall (a DMZ).

    Then, it'll act like you want.

    Barry
  • Is this the only way? For some reasons I have to place this webapplication on tha LAN, and E-mail are sended from there. The IP address assosiated with E-mails is external NAT address. I cannot reach that webservice from LAN. From outside no problem. Packets should travel like this. From LAN > NAT (external address) back to LAN address.
  • Another option is an internal DNS server, or, you can edit the hosts file on all the internal clients.

    Barry
  • In some Firewalls there is an optionto add a file called  dnsmasq.conf in /etc to override specified addresses. The way to edit the host-file is in my opinion not acceptable because if the pc is working from outside the lan, you could't access the needed services. If you route www.address.xy to a pc in your lan like 192.168.x.x it is not possible to access this pc from outside the lan. There has to be another solution to this problem. And settign up a DNS-Server on another pc than the firewall is too work-intensive, and whats up, if I don't have another pc to work as a DNS-Server ?

    Just my 50 Cents

    Greetings and waiting for a solution

    Dirk Neujahr
  • Any reason you can't put the server in a DMZ?

    Barry
  • Don't know ! If somebody can explain me, what to do to see the Server in the Windows Network Neighbourhood...because many people in my Network want to see the server except to enter an IP-address (Newbies...). I just tried out to put the server in the DMZ, I can access the server by entering the ip-address but it won't display in the neighbourhood...

    Greetings

    Dirk Neujahr
  • Hi guys,
    Reason I can NOT put the server on DMZ is that this server needs to communicate "all the time" to SQL server (and for eazier backup reasons). I don't get this, this should be eazy: Packets from LAN to External address (NAT address) backup to Internal LAN). Short, I want to use NAT internally. Is this possible?
Reply
  • Hi guys,
    Reason I can NOT put the server on DMZ is that this server needs to communicate "all the time" to SQL server (and for eazier backup reasons). I don't get this, this should be eazy: Packets from LAN to External address (NAT address) backup to Internal LAN). Short, I want to use NAT internally. Is this possible?
Children