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

Filter rules to use http under Masquerading

Forgive me for this elementary post as I am just learning to setup my firewall.  Using V4.0 of software under 30 day eval.
 
My problem is this:  Users on private net can get an address from DHCP but can not use HTTP to surf the net - It does not look as if DNS requests are going out.  With Masquerading on, I know that I need some filter rules to allow a flow of traffic.

 Here is my layout so far:
1. I have a user private net on eth1 as 198.168.40.X
2. eth2 is my NIC out via a router to a T1 line.
3. eth0 is another private net (that I will setup later) so ignore it for now.
3. I configured DHCP for subnet on eth1. It gives out addresses to boxes on this subnet just fine.
4. I setup the DNS proxy for eth1_lan listening on eth1 with forwards to my ISP's 2 DNS servers.
5. I setup HTTP proxy for eth1_lan (allowing HTTP service for now) in standard mode (tried transparent mode also) both do not work! With standard mode I set browser to address of subnet NIC and port of 8080.
3. I setup Masquerading for eth1_network on interface eth2.
4. I setup a filter rule to allow eth1_network, service DNS, to server eth2_network, any (I also tried eth2_nic). Second rules for same except service was HTTP.
5. If I disconnect the T1 router cable from eth2 NIC and connect it to a Pc with W2K and set IP address (static), mask, and gateway provided by my ISP, the connection works and I can surf the net from that PC. So I know my connection works. These same settings for the PC to work were configuration for the eth2 interface under the networks menu.

What kind of filter rules am I possibly missing? 

I am sure that being a Newbie, that I am overlooking something simple.

Thanks in advance.
  


This thread was automatically locked due to age.
  • There are several ways to set up the asl box to provide internet access for your internal machine. First thing you should do is to make a plan of how you want things. This of course means you need to know the basics of routing, proxy, masqerading and NAT.

    But to give you a fast sollution...
    Only using masqerading.
    1. set up the masqerading rule internal_networl --> external_interface
    2. set up packetfilter rule internal_network allow any service to any server
    3. make sure that your DHCP provide the internal_network with at least the following

    - default gateway = asl_box_internal_interface_address
    - DNS = asl_box_internal_interface_address
    - and of course correct ip and mask

    This should do it.
    Then you can remove the packetfilter rule and set up specific services (port) rules.

    When using proxy you dont need any masqerading/NAT settings or packet filter rules. Only the DNS-proxy rule allowing the host to use the proxy.

    Hope this helps... and not to forget we have all been n00bs