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

setup problem

My current setup is as follows.

eth0 - internal NIC - 10.0.0.1
eth1 - external nic - 192.168.2.10 subnet - 255.255.255.0 gateway - 192.168.2.1

ADSL router - 192.168.2.1

I have added packet filtering as the following:

internal_interface - any - any - allow

But i still cant get to the outiside world? im sure im forgetting something but what?
 


This thread was automatically locked due to age.
Parents Reply Children
  • what are the settings for the masq i need to setup?  
  • You have to add Masquerading of your internal network.
    Internal_Network__ -> All / All   MASQ__External

    You achieve this in Network--> NAT/Masquerading

    YOu add new entry:
    RuleType:           Masquerading
    Network:            Internal Network
    Interface:          External interface


    BR, Matjaz 
  • thats the rule i had already added but it still doesnt work?

     
  • Try turning on Proxy ARP on your Internal interface.
    You'll find the setting for it under advanced features.  
  • Only for clarification he says that he has this setup 

    eth0 - internal NIC - 10.0.0.1
    eth1 - external nic - 192.168.2.10 subnet - 255.255.255.0 gateway - 192.168.2.1

    ADSL router - 192.168.2.1

    Is this ADSL "Gateway" do routing functions as well?  This make no sense. Why would your ADSL "Gateway" have a private IP address. 

    I see that on the external interface you have a 192.168.2.0 subnet and on the internal_interface you have a 10.0.0.1 subnet. Which makes sense but what I cannot figure out here with your setup is the ADSL Router thing did you in fact mean ASL router as in Astaro Security Linux.  
  • fxdsuperglide,

    My understanding is that the original poster has an ADSL router, which does the basic NAT conversion, and he then has his ASL box in behind it, doing another NAT conversion prior to getting to his Internal network.

    Don't confuse ADSL modems with ADSL routers.

    Some ISP's will supply their customers with ADSL routers, which contains a basic SOHO router and the ADSL modem circuitry integrated into one box.

    However, most ADSL customers have just a simple ADSL modem (mine is made by D-Link), which, I suspect, is what you are familiar with.    
  • Turning on proxy ARP didnt solve the problem either :/

    and my setup is as velvetfrog described.

    anyone else got some ideas? some things i could run though to dbl check settings are correct and so on? 
  • Things to double check:

    1. External Interface must have default gateway pointing at the ADSL router's LAN side. Netmasks must match (class "C" = 255.255.255.0). It is also safe to turn on Proxy ARP on the External interface, since you are in behind another NAT router.

    2. Proper masquerading rule must be in place. Should be like this:

    Internal_Network__ -> All / All  MASQ__External  None

    3. Filtering must be open for access. Put in a #1 filter with:

    Any  Any  Any  Allow.

    This is not good for security, but will remove filtering as an issue until you get everything working. Then remove it and use something more appropriate.

    4. PC workstations must have IP addresses, netmasks and default gateway settings that are appropriate for use with the Internal network defined on the Internal interface of your ASL box.
    If your DHCP server in the ASL box has been appropriately configured for serving up addresses for your Internal network, then Windows PC TCPIP stacks should use the default of obtaining their address automatically.

    5. DNS server addresses, at least two, as provided by your ISP, will need to be configured in your DHCP server.

    6. Do basic testing by pinging. When you ping actual IP addreses, rather than using domain names, you can verify basic communication at first, without requiring a working DNS name resolution service.
      
    7. Double and triple check for the most common problems, such as typos in IP addresses and netmasks, bad or intermittent Ethernet patchcords and faulty Ethernet cards.
      
  • ok double checked all the settings you mentioned, they all seem to be correct.

    one thing though when i connect to the ASL box via SSH i cannot ping the ADSL router [192.168.2.1]

     
  • ....if you are NOT using masquerade on the astaro box then there is a static route missing on the adsl router for the network 10.0.0.0. Nexthop is the extern interface of the astaro box.

    [ QUOTE ]
     one thing though when i connect to the ASL box via SSH i cannot ping the ADSL router [192.168.2.1]
     

    [/ QUOTE ]
    pls check Menu: /Packetfilter/ICMP/

    greetz
      Claus