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

port forwarding

I'm trying to get my webserver up and running. But I keep on getting this error.

The following error was encountered: 

Connection Failed 
The system returned: 

    (111) Connection refused
The remote host or network may be down. Please try the request again. 

I want to make sure I'm forwarding ports correctly so correct me if I'm wrong. Ok first of all I look in services to see if theres a service aalready created for the protocal I'm interested in. If not I create that service. I than go into definitions>> networks and create the network or host. For example I may name the webserver web1  give it the webservers ip than a subnet mask of 255.255.255.255. After that I go into packet filters and create a rule. For my web server I created this rule. From client= dsl interface, to server = webserver, service= http, action= allow. If I'm not creating the forwarding correctly please correct me.
  


This thread was automatically locked due to age.
Parents
  • You must add a dnat rule for you webserver also look in this link and i hope it´s help you   dnat webserver     [;)] 
  • I'm looking through the doc now. I don't quite understand step 2. I'm supposed to be adding a ip address that my isp gave my. I don't have any ips from my isp. I only have one dynamic ip shoould I just put a local lan ip into the box.  
  • forget that step...thats for when you have static ips...

    you have to define a dnat rule to allow incoming http traffic to be directed to the server...

    define your webserver under network definitions with the internal ip address of the server and a mask of 32 (for this example the name of the defined network will be "web_server_")

    go to nat/masquerading under network and add a dnat/snat rule

    source address: any
    destination address: external interface
    service: http
    change source to: no change
    change destination to: web_server_
    service destination: no change

      
Reply
  • forget that step...thats for when you have static ips...

    you have to define a dnat rule to allow incoming http traffic to be directed to the server...

    define your webserver under network definitions with the internal ip address of the server and a mask of 32 (for this example the name of the defined network will be "web_server_")

    go to nat/masquerading under network and add a dnat/snat rule

    source address: any
    destination address: external interface
    service: http
    change source to: no change
    change destination to: web_server_
    service destination: no change

      
Children
No Data