On 01/12/10 00:16, pedro vde wrote:
>
> First of all Theo, I want to thank you for looking in to this!
My pleasure.
> LittleRedRooster;2102567 Wrote:
>>
>> Do you see any error in /var/log/messages or /var/log/firewall when you
>> (re)start
>> the firewall?
>>
>
> The only SuSEfirewall2 errors I see are related to two settings I
> putted into ‘Yes’ while fiddling to find a solution:
>
> for /var/log/messages
>
>
> Code:
> --------------------
> Jan 11 23:05:21 image-sound SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 …
> Jan 11 23:05:21 image-sound SuSEfirewall2: Warning: FW_ALLOW_INCOMING_HIGHPORTS_TCP is deprecated and will likely be removed in the future.
> Jan 11 23:05:21 image-sound SuSEfirewall2: Warning: If you think it should be kept please report your use case at
> Jan 11 23:05:21 image-sound SuSEfirewall2: Warning: http://forge.novell.com/modules/xfmod/project/?susefirewall2
> Jan 11 23:05:21 image-sound SuSEfirewall2: Warning: FW_ALLOW_INCOMING_HIGHPORTS_UDP is deprecated and will likely be removed in the future.
> Jan 11 23:05:21 image-sound SuSEfirewall2: Warning: If you think it should be kept please report your use case at
> Jan 11 23:05:21 image-sound SuSEfirewall2: Warning: http://forge.novell.com/modules/xfmod/project/?susefirewall2
> Jan 11 23:05:21 image-sound SuSEfirewall2: batch committing…
> Jan 11 23:05:21 image-sound SuSEfirewall2: Firewall rules successfully set
> --------------------
Ok, so no serious syntax violations
> LittleRedRooster;2102567 Wrote:
>>
>> Also look at the output of ‘/sbin/SuSEfirewall2 status’ and see if the
>> forward rules are defined correctly.
>
> As far as I can see they are. You can check the output of my ‘current
> status here’
> (http://www.image-sound.com/tech/misc/100111-susefirewallStatus.htm)
The SIP port does appear to be accepted and forwarded correctly. Looks ok me.
How about the modem/router in front of your server? Does it have filtering rules
or does it forward absolutely everything to your server?
> LittleRedRooster;2102567 Wrote:
>>
>> Yeah, but in your first post you showed that no SIP server was
>> listening
>> on localhost, so most likely it’s not listening on an ethernet device
>> either.
> I don’t know if I understand you on this one… my Asterisk server is
> located on eth0 (Internal) on 192.168.0.3 and working as it should on
> the internal level (I have a few SIP phones and a few soft-phones
> configured and I am able to call them from within the internal network.
Is the Asterisk server bound to the WAN ethernet device too? Otherwise it’ll
never work.
> I am also able to make outbound calls using my SIP provider… but the
> problem I have is that the provider’s computer is not ‘seeing’ my server
> behind the NAT formed by the Suse-loaded router/firewall/webserver. So I
> can’t receive inbound calls… I’m trying to get this up since last
> november …pfff…
In your first post you said:
<quote>
when I do a nmap localhost I get:
Starting Nmap 4.75 at 2010-01-08 16:52 CET
Interesting ports on localhost (127.0.0.1):
Not shown: 991 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
80/tcp open http
111/tcp open rpcbind
548/tcp open afp
631/tcp open ipp
3306/tcp open mysql
</quote>
No port 5060 listening, so that’s why I made this remark about the SIP server.
> I also tried nmap -sU 81.82.201.12
>
> Code:
> --------------------
>
> Starting Nmap 4.75 ( http://nmap.org ) at 2010-01-12 00:02 CET
> Interesting ports on d5152C90C.static.telenet.be (81.82.201.12):
> Not shown: 995 closed ports
> PORT STATE SERVICE
> 53/udp open|filtered domain
> 67/udp open|filtered dhcps
> 111/udp open|filtered rpcbind
> 631/udp open|filtered ipp
> 5353/udp open|filtered zeroconf
>
> Nmap done: 1 IP address (1 host up) scanned in 1.31 seconds
> --------------------
No surprises there either.
It is possible for you to use a (linux) notebook or PC, configured with an IP adres of
81.82.201.1/24 (default gateway 81.82.201.12), and connect that directly to the WAN side
of this server? That way you can rule out any possible issue with the ADSL/Cable router
or provider filtering.
Theo