Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: william_syd on September 28, 2006, 03:49:37 PM
-
I've got httpd.vmware as a service in my configuration db.
Whats the correct command to open multiple ports? (8222 and 8333)
And should I see these ports in iptables -L ?
Do I need the ports listed in some services file?
It's late.. I'll search more tomorrow.
LATE EDIT: I'll add them in with Duncans 90vmware-authd
-
william_syd
http://no.longer.valid/phpwiki/index.php/SME7FAQs
-
william_syd
http://no.longer.valid/phpwiki/index.php/SME7FAQs
I see for a single port not multiples. Maybe another read of the Dev man.
It appears to be TCPPorts 8222,8333
-
Nope not working (I think)
db configuration setprop httpd-vmware TCPPort 8333
Is good for a single port
db configuration setprop httpd-vmware TCPPort 8333,8222
Gives me an error when I restart masq
db configuration setprop httpd-vmware TCPPorts 8333,8222
Appears to work but does not appear in iptables -L
I'm sure I saw this written up somewhere.
-
Maybe why it wont work...
http://forums.contribs.org/index.php?topic=30736.msg131362#msg131362
Yet why, out of the box do I see..
smbd=service
TCPPorts=139,445
access=private
status=enabled
-
william_syd
> Maybe why it wont work...
> http://forums.contribs.org/index.php?topic=30736.msg131362#msg131362
That comment (re TCPPorts functionality not avail until sme7.1) was made over 6 months ago and a lot has happened since then.
> out of he box do I see..
> smbd=service
> TCPPorts=139,445
That's suggestive that it is supported now. Perhaps you could ask on devinfo.
> db configuration setprop httpd-vmware TCPPorts 8333,8222
Perhaps your command syntax is the issue.
The FAQ suggests
config set manta service access public status enabled TCPPort nnn
or in your case
db configuration set manta service access public status enabled TCPPort nnn1,nnn2
signal-event remoteaccess-update
I see in the link mentioned these commands
config setprop radiusd access private TCPPort 1812
config set radius-acct service status enabled access private TCPPort 1813
signal-event remoteaccess-update
iptables -L
should show the ports open.
In your case what does this show ?
config show httpd-vmware
-
william_syd
That's suggestive that it is supported now. Perhaps you could ask on devinfo.
I was going to do that this morning. I'm still on the old list that died early this year.
In your case what does this show ?
config show httpd-vmware
[root@tiger ~]# config show httpd-vmware
httpd-vmware=service
TCPPorts=8222,8333
access=public
status=enabled
[root@tiger ~]#
Interestingly, on a stock SME7 Server-only I find the following.
[root@vmsme7go ~]# config show |grep UDPPort
UDPPort=53
UDPPorts=137,138
UDPPorts=53
[root@vmsme7go ~]# config show |grep TCPPort
TCPPort=53
TCPPort=21
TCPPort=980
TCPPort=80
TCPPort=143
TCPPort=993
TCPPort=389
TCPPort=443
TCPPort=113
TCPPort=110
TCPPort=995
TCPPort=1723
TCPPorts=139,445
TCPPort=25
TCPPort=3128
TCPPort=22
TCPPort=465
[root@vmsme7go ~]#
-
Opening multiple TCP/UDP ports or opening a range of ports is still not supported in SME7 and is still in the future list for SME7.1
See bugs 56, 989 and 1000
Jon
-
Thanks Jon for that.
I did do a search of Bugzilla for TCPPorts but I must have deselected something as I got no hits. Was pretty sure I wouldn't be the first to come across this.