1

Topic: open port 10000 in iRedMail's Firewall

Hello

I have installed in my VPS ubuntu-8.04-i386-minimal and
the latest version of iRedMail.

Also, I installed Webmin 1.490.

I think that iRedMail's Firewall does not allow me to
access to the webmin port 10000.

How can I open port 10000 in  iRedMail's Firewall?

Thanks a lot

Best Regards,

Peace5

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: open port 10000 in iRedMail's Firewall

You can edit /etc/default/iptables, and add the ports you want to open in it, such as:

#-A INPUT -p tcp -m multiport --dport 80,443,25,465,110,995,143,993,587,465,22 -j ACCEPT
-A INPUT -p tcp -m multiport --dport 80,443,25,465,110,995,143,993,587,465,22,10000 -j ACCEPT

And then restart iptables service to make it work for you:

# /etc/init.d/iptables restart

3 (edited by shake 2009-10-13 15:09:46)

Re: open port 10000 in iRedMail's Firewall

you can try

1:stop iptables
2: login webmin
3: in webmin config iptables open 10000 port.

or you also can edit

vi /etc/default/iptables 

4

Re: open port 10000 in iRedMail's Firewall

Thank you very much for your help.

It is working.

How can I edit iptables from Webmin?

I installed iptables but I cannot see the iRedMail's rules.

Thanks for your excellent support

Peace5

5

Re: open port 10000 in iRedMail's Firewall

I have same problem with Peace5. But the problem is SNMPD port on FreeBSD. I have installed the latest version of iRedMail. i can't find the firewall configuration that applied to my iRedMail machine. How can I open UDP 161 port on my machine?

Best  Regards,

hyourinseta

6

Re: open port 10000 in iRedMail's Firewall

iRedMail doesn't provide default firewall rules for FreeBSD ipfw.

7

Re: open port 10000 in iRedMail's Firewall

but how my SNMPD doesn't listen on all ipv4 interfaces of this iRedMail machine?
on the other machine without iRedMail, my SNMPD does listen on all ipv4 interfaces. any solution?

thanks

8

Re: open port 10000 in iRedMail's Firewall

iRedMail doesn't configure SNMPD daemon, did you have it correctly configured?

9

Re: open port 10000 in iRedMail's Firewall

i did it with another machine, with same SNMP configuration. and it works.
i just can't understand, why this machine can't be SNMP-queried by another machine, but this machine can SNMP-query other machine. FYI, this machine can query itself (localhost)

regards.
TIA

10

Re: open port 10000 in iRedMail's Firewall

this is what i mean.

i did below command on iRedMail installed machine that are using FreeBSD. the machine has IP Address 10.100.10.33

[root@mail ~]# snmpwalk  -v 1 -c zekrom 127.0.0.1 system
SNMPv2-MIB::sysDescr.0 = STRING: FreeBSD mail.server 8.2-STABLE FreeBSD 8.2-STABLE #0: Sun Jun 12 13:50:44 CIT 2011     admin@server:/usr/obj/usr/src/sys/GENERIC amd64
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.8
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (780413) 2:10:04.13
SNMPv2-MIB::sysContact.0 = STRING: admin@server
SNMPv2-MIB::sysName.0 = STRING: mail.server
SNMPv2-MIB::sysLocation.0 = STRING: somewhere
SNMPv2-MIB::sysServices.0 = INTEGER: 72
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (3) 0:00:00.03
SNMPv2-MIB::sysORID.1 = OID: SNMP-MPD-MIB::snmpMPDMIBObjects.3.1.1
SNMPv2-MIB::sysORID.2 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORID.3 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.4 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.5 = OID: TCP-MIB::tcpMIB
SNMPv2-MIB::sysORID.6 = OID: IP-MIB::ip
SNMPv2-MIB::sysORID.7 = OID: UDP-MIB::udpMIB
SNMPv2-MIB::sysORID.8 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
SNMPv2-MIB::sysORDescr.1 = STRING: The MIB for Message Processing and Dispatching.
SNMPv2-MIB::sysORDescr.2 = STRING: The MIB for Message Processing and Dispatching.
SNMPv2-MIB::sysORDescr.3 = STRING: The SNMP Management Architecture MIB.
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.5 = STRING: The MIB module for managing TCP implementations
SNMPv2-MIB::sysORDescr.6 = STRING: The MIB module for managing IP and ICMP implementations
SNMPv2-MIB::sysORDescr.7 = STRING: The MIB module for managing UDP implementations
SNMPv2-MIB::sysORDescr.8 = STRING: View-based Access Control Model for SNMP.
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORUpTime.2 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORUpTime.3 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORUpTime.4 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORUpTime.5 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORUpTime.6 = Timeticks: (2) 0:00:00.02
SNMPv2-MIB::sysORUpTime.7 = Timeticks: (3) 0:00:00.03
SNMPv2-MIB::sysORUpTime.8 = Timeticks: (3) 0:00:00.03
[root@mail ~]#

but using snmpwalk to 10.100.10.33 which itself, the result is no response.

[root@mail ~]# snmpwalk -v 1 -c zekrom 10.100.10.33 system
Timeout: No Response from 10.100.10.33
[root@mail ~]#

11

Re: open port 10000 in iRedMail's Firewall

Did you check your firewall rules both on FreeBSD server and network router/gateway?
On FreeBSD:

# ipfw list