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

NAT : from inside to outside : internal to external

Ok to start off i have read faq and alot of posts here befor i finaly descided to ask this !

I think what im trying to do is not difficult or impossible, but i think its my understanding of the "network" i would be really thankfull if someone could try to explain !
--------------------------------------------------

Im runnin ASL 3.202 / Office Version.

--------------------------------------------------
I have 2 nics. (External + Internal)
--------------------------------------------------
[WebAdmin\Network\Interfaces]
External:is connected to my cable modem and setup like this :
ip[:D]hcp   
subnet mask[:D]hcp
gateway[:D]hcp

Internal:is setup like this:
ip:192.168.100.1
subnet mask:255.255.255.0
gateway:none
--------------------------------------------------
From what i have read and tried to understand i try the following to get hosts connected to "nic Internal" to get online (without proxy)
--------------------------------------------------

[WebAdmin\Definitions\Networks]
(here both networks are auto defined do i need to define them myself? does it matter if i have sevral identical networks\hosts here, but with difrent Name ?)

This is what i have now :

External_Interface : 62.179.186.186 \ 32 (static)
External_Network   : 62.179.186.0 \ 24   (static)

Internal_Interface : 192.186.100.1 \ 32  (defined)
Internal_Network   : 192.186.100.0 \ 24  (defined)

now over to NAT\Masquerading
--------------------------------------------------

[WebAdmin\Network\Masquerading]

Name: masq01
Rule type: Masquerading
Network: Internal_Network
Interface: External
--------------------------------------------------

now some Packetfilters

--------------------------------------------------
[WebAdmin\Packet Filter\Rules]
here i add all this to be sure anything should get trough

From (Client)   | Service | To (Server) | Action
--------------------------------------------------
192.168.100.200    any         any        allow
Internal_Network   any         any        allow
Internal_Interface any         any        allow
--------------------------------------------------

Now here is my real question :

Why cannot my client-pc configured as follows get any what so ever contact with internet ?

ip : 192.168.100.200
mask : 255.255.255.0
gateway : 192.168.100.1

(if i use proxy or socks i get the client online)

im very thankfull for anything that would open my eyes here


This thread was automatically locked due to age.
Parents
  • Well problem solved for now :

    All i needed to do was :

    [WebAdmin\Proxies\DNS]

    Interfaces to listen on : eth0 (internal)

    Allowed Networks : Internal_Network

    Forwarding Nameservers : My ISP's nameservers x2

    +

    client configured as follows :

    ip : 192.168.100.200
    subnet mask : 255.255.255.0
    gateway : 192.168.100.1 (astaro)
    dns server : 192.168.100.1 (astaro)
     
     [size="1"][ 21 July 2002, 08:51: Message edited by: Gordini ][/size]
  • Since Internal_Interface and 192.168.100.200 are on Internal_Network, you probably only need one rule (Internal_Network any any allow).

    Farid
Reply Children