Koozali.org: home of the SME Server

How to unblock ports?

Offline scancorp

  • 2
  • +0/-0
How to unblock ports?
« on: December 15, 2011, 04:59:49 PM »
Hi!

By mistake I blocked the wrong port (443) on my SME server, using the following cmds:
Quote
config setprop masq UDPBlocks 0.0.0.0:443
config setprop masq TCPBlocks 0.0.0.0:443
signal-event remoteaccess-update
/etc/init.d/masq restart

I've tried all ways I could think of to unblock the port again:

iptables -F
iptables -A INPUT -p tcp --dport 443 -j ACCEPT

No luck: I'm still not able to access https adresses.

Could somebody help please?


Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: How to unblock ports?
« Reply #1 on: December 15, 2011, 05:11:49 PM »
use same command, replacing "setprop" by "delprop"
...

Offline scancorp

  • 2
  • +0/-0
Re: How to unblock ports?
« Reply #2 on: December 15, 2011, 05:22:28 PM »
Thanx so much for a quick reply  :-D

Just tried - and port is unblocked again...

Merry x-mas to you