Koozali.org: home of the SME Server

Port not showing open

Offline Royd

  • *
  • 11
  • +0/-0
Port not showing open
« on: March 10, 2008, 06:26:50 AM »
Hi All
I needed to port forward so some games could work. All went well. I am still learning so I tried the command iptables -L and found all the ports that I had set up are forwarded "great" except one 443. I tried removing it Thanks Roy

Offline imcintyre

  • *
  • 609
  • +0/-0
Re: Port not showing open
« Reply #1 on: March 11, 2008, 12:59:45 PM »
why didn't you use the server-manager to forward the ports?

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Port not showing open
« Reply #2 on: March 11, 2008, 06:30:41 PM »
Royd

Quote
...all the ports that I had set up are forwarded "great" except one 443. I tried removing it...

It's likely in use by other services requiring secure https: eg webmail, server manager
You need to stop any other services using that port & close that port before you can forward it elsewhere.

See
http://wiki.contribs.org/SME_Server:Documentation:FAQ#Firewall
and
http://wiki.contribs.org/SME_Server:Documentation:Developers_Manual

I don't think forwarding port 443 elsewhere is a good idea as you then won't be able to access secure https services on your sme server using that port.
Better to use a different port that is not in use.
...

Offline Royd

  • *
  • 11
  • +0/-0
Re: Port not showing open
« Reply #3 on: March 12, 2008, 06:26:36 AM »
Hi Ray
I am only using to use the server as a gateway only at this stage. Pop/SMTP is still pointed to my ISP. I am trying to get Battlefield 2142 running fully on a Windows machine and they say to open port 443. I did use Server Manager to set up the ports. How do you stop services under a Linux environment? The real problem we get is a lagging problem on all online games and its not the ISP, it is a internal problem. I am into networks (30years) but this is a little bit harder because I am still learning Linux. Its not the cabling, switch, Ethernet cards, or PC hardware (I have 2 PCs built so I could change if one died). I really believe its a issue with a setting in Linux or do I need a Server built PC?
Cheers Roy

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Port not showing open
« Reply #4 on: March 12, 2008, 07:50:57 AM »
Royd

Quote
I am trying to get Battlefield 2142 running fully on a Windows machine and they say to open port 443. I did use Server Manager to set up the ports. How do you stop services under a Linux environment?

I think this should do it, but you will break some services on the sme server.

config setprop modSSL status disabled
signal-event post-upgrade
reboot

To check do
config show modSSL

Then forward port 443 using the server manager port forward panel.
Remove any existing port forward rule for port 443 first and redo it AFTER you have disabled modSSL.

...