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

Unable to Access External IP Addy from Internal Network - VERY CONFUSED

I am really confused as to what Im doing wrong on this configuration.  I have spent a lot of time on this so I apologize for the novel..  Google and Help just dont have anything more to offer me [:)]



  Originally I thought this issue was related to internal DNS, but after changing the DNS Server to my DNS Proxy on the ASL v6.2 firewall I found I wasnt able to hit my web site running off the External IP Address.  

I have confirmed that the Web Site is visible from machines externally to my network. This was done externally from a site and from inside my network over a VPN TCP Tunnel.

I have setup a MASQ rule setup as follows:

**I have no problems accessing the internet except for my own personal static IP Addy.


Match Params                       SRC Trans           DST Trans
Internal (Network) -> All / All   MASQ__External   None

With a Packet Filter Rule
Allow Internal)Network Source -> Any Service -> Allow Any Destination


I really dont see why this rule set wouldnt let me hit http: from my internal network.  I am getting a response from nslookup of my domain with the public IP address when I set my PC to use the ASL DNS Proxy which maps to my ISP DNS Primary and Secondary.  If I change my PC's DNS primary to my internal DNS server nslookup returns the internal IP Addy on my Web Server.  This DNS behavior seems completely normal to me and thus Im leaning towards this being a firewall issue.

A ping command to my external ip address domain name but contains 64 bytes from the internal DNS/Web server IP Address.  Again this was tested outside my network and internaly when connecting to work over a VPN TCP Tunnel.

Im really at an end here so any insight would be greatly appreciated!

Thanks much,

DK


This thread was automatically locked due to age.
Parents
  • If I am not providing enough information or if my  is unlcear please let me know.  I really dont understand why my rule sets force my inability to hit my external IP address from my internal ip addres.  Any insight or questions would be greatly appreciated.


    Thanks,

    DK
  • A very common problem when running a public site from a local network..
    If I understand your novel you are hitting the external IP from the inside which you then expect to bounce back inside to the server.  The DNAT rule is expecting you to come from the outside interface but you're coming from the inside.

    Two ways:
    1. Create an internal DNS or Hosts file that returns the actual internal IP instead of the external IP.  This server only resolves for machines on the inside network.
    2. Create an SNAT rule that changes the source IP to the internal IP and then destination to the server IP.
    Internal_Net->External_IP->(change source IP)Internal_IP->(change destination IP)Server_IP
Reply
  • A very common problem when running a public site from a local network..
    If I understand your novel you are hitting the external IP from the inside which you then expect to bounce back inside to the server.  The DNAT rule is expecting you to come from the outside interface but you're coming from the inside.

    Two ways:
    1. Create an internal DNS or Hosts file that returns the actual internal IP instead of the external IP.  This server only resolves for machines on the inside network.
    2. Create an SNAT rule that changes the source IP to the internal IP and then destination to the server IP.
    Internal_Net->External_IP->(change source IP)Internal_IP->(change destination IP)Server_IP
Children
  • Thanks pablito you are correct I am trying to setup number 2:

    2. Create an SNAT rule that changes the source IP to the internal IP and then destination to the server IP.
    Internal_Net->External_IP->(change source IP)Internal_IP->(change destination IP)Server_IP

    Thank you for the SNAT Rule thats what I was having troubles with creating.  I am able to see my external IP addresss now.  

    Thanks Again!!!
  • not sure i followed that logic (having the same problems here)...

    so is this what you're saying?

    Create new snat:

    Packets to Match --> Source = Internal(Network) ... Dest = external_server_address

    Change Source to --> Internal(Address)

    Change Destination to --> internal_server_address

    Is that right?