Guest User!

You are not Sophos Staff.

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

What steps do I need to setup port forwarding?

I have just installed Astaro on same box (p133, 32mb ram). What steps do I need to take to configure astaro for http port redirecting to interal 192.168.0.99 web server?


I was trying this for two days, no luck...

Damir


This thread was automatically locked due to age.
Parents
  • Port forwarding under ASL is pretty simple to set up, as long as you keep a few rules in mind..

    1. Predefine your NAT'd host IP in Network Definitions

    2. Predefine the port you want forwarded in Services Definitions.  Some ports are predefined already in Services Definitions, such as port 80 for HTTP

    3. Create the inbound rule in Packet Filter Rules


    To forward HTTP requests you need to do the following:

    1.  In Network Definitions define your internal host - Name: Webserver, IP: 192.168.0.99, Subnet: 255.255.255.255

    2.  In DNAT from the Network menu select your external interface as the Pre DNAT Destination and HTTP as the Pre DNAT Service, Webserver as the Post DNAT Destination and HTTP as the Post DNAT Service

    3.  In Rules from the Packet Filter menu set From (Client) to Any, Service to HTTP, To (Server) as Webserver, action to Allow

    4.  Save the new rule then activate it

    Test things from a machine not on your DNAT'd LAN.  Due to the order in which DNAT, rules and routing are processed, from your NAT'd LAN you need to use the NAT IP of your webserver.  There are other discussions on the forum to get around this limitation.

    Greg
  • I just got back to the fw and I still can not get port fw runing. 
    I resinstalled ASL, did by the steps provided. Where I am confused 
    is Step 1.

    Please, help ...

      [:S]
Reply Children
No Data