Koozali.org: home of the SME Server

2 Question, Upgrade Apache to v2 and change listening port

Offline gordonr

  • *
  • 646
  • +0/-0
    • http://www.smeserver.com.au/
Re: 2 Question, Upgrade Apache to v2 and change listening po
« Reply #15 on: June 26, 2005, 02:45:00 PM »
Quote from: "girkers"


My ISP is blocking port 80 so I want to change it to something else.  I have looked at the how to by Dan Brown but this doesn't work for this version.  Any help would be appreciated.

Thanks. :-D


Leave the web server listening on port 80. On the port-forwarding panel, forward port 8080 (or whatever) to  port 80. In 6.0, the destination IP must be your ExternalIP. For 7.0, you can enter any of "localhost", ExternalIP, InternalIP, or 127.0.0.1 for such redirects.

Gordon
............

splunk

Re: 2 Question, Upgrade Apache to v2 and change listening po
« Reply #16 on: June 29, 2005, 05:59:34 PM »
Quote from: "gordonr"

Leave the web server listening on port 80. On the port-forwarding panel, forward port 8080 (or whatever) to  port 80. In 6.0, the destination IP must be your ExternalIP. For 7.0, you can enter any of "localhost", ExternalIP, InternalIP, or 127.0.0.1 for such redirects.

Gordon



Since I'm on 6.0 and have a dynamic IP, I can't use this method.  I'm hoping someone can pop in with a way to automatically run the iptables thing on startup.

Offline gordonr

  • *
  • 646
  • +0/-0
    • http://www.smeserver.com.au/
Re: 2 Question, Upgrade Apache to v2 and change listening po
« Reply #17 on: June 29, 2005, 10:59:36 PM »
Quote from: "splunk"

Since I'm on 6.0 and have a dynamic IP, I can't use this method.  I'm hoping someone can pop in with a way to automatically run the iptables thing on startup.


I haven't tested, but it's quite likely that the 7.0 e-smith-portforwarding version will work on 6.0. However, it plays with firewall rules, so they need to be checked carefully.
............

splunk

2 Question, Upgrade Apache to v2 and change listening port
« Reply #18 on: July 31, 2005, 04:50:37 AM »
I tried installing some of the rpms for the portforwarding, but they stated I must have an esmith library newer than what I did.  Any other clues?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
2 Question, Upgrade Apache to v2 and change listening port
« Reply #19 on: July 31, 2005, 06:53:14 PM »
Quote from: "girkers"
Thanks schirrms for your thoughts and it would make things really easy, but the problem is that my ISP doesn't let port 80 through, but thanks for the thought.


Your ISP doesn't need to, if you follow Pascal's advice. All traffic which flows through your ISP would be on port 8080. Apache would still listen on port 80. Iptables would connect the two. All you would need would be to enter a port forward in the port forwarding panel.

However...

The 6.0 and 6.0.1 versions of the portforwarding panel don't correctly support portforwarding to a port on the server itself. You'll need to use an updated version of e-smith-portforwarding (IIRC) to have it work.

splunk

2 Question, Upgrade Apache to v2 and change listening port
« Reply #20 on: October 30, 2005, 12:12:09 AM »
I wasn't able to get any of those running on 6.x.  Is there any way to have the server automatically run an iptable command upon boot?


Thanks