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

Can't access the server that NAT'ed

Hi all,

I have read 'Web server / DNAT' from doc.astaro.org, but I still can't access the Web-server (with IP global) from outside. From inside, I can access with IP global to the web-server. Is it because I just use 2 ethernet, 1 for LAN and the other for External ? I put my web-server global IP in External Interface. 

Thanks  


This thread was automatically locked due to age.
Parents
  • reyman,
    did you define an additional interface on your external nic with the official ip of the Webserver? If not, do so and also define a dnat pointing to your Webserver (internal IP)?But note, you cannot use the global nic inside your LAN, because the ASL does not support two interfaces with the same network behind. Have a 
    look at  this page, i hope that will resolve your problem.

    Cheers,
    Bagira
  • Hi,

    It works now.. [:)]P2).
    I dont know why yesterday I can't make my NAT'ed server access from outside, maybe because of iptables that runs in webserver.  I add another eth and add it in my /etc/modules.conf, right now I have 3 eth, but only 2 that active. I don't know if it has anything to do with my problems.
    Thanks guys..

        
Reply
  • Hi,

    It works now.. [:)]P2).
    I dont know why yesterday I can't make my NAT'ed server access from outside, maybe because of iptables that runs in webserver.  I add another eth and add it in my /etc/modules.conf, right now I have 3 eth, but only 2 that active. I don't know if it has anything to do with my problems.
    Thanks guys..

        
Children
No Data