Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
3CX app connection problem outside my network. [Solved]
« previous
next »
Print
Pages: [
1
]
2
Author
Topic: 3CX app connection problem outside my network. [Solved] (Read 7674 times)
Silver77
Jr. Member
Posts: 50
Karma: 1
3CX app connection problem outside my network. [Solved]
«
on:
September 06, 2020, 01:43:12 pm »
I3CX app connection problem outside my network.
i need help configurating my 3CX app.
my problemm is, when my phone is conncted to my network, it works fine;but when i connect my phone to another network, my 3cx application doesn't work.
for the wan I use a public static ip address
and create a virtual ip and redirect it to opt2 using my other pubblic address
i know that it works because if i ping the public ip, it responds
if i disable the opt2, it doesnt respond.
then i just create a dmz on opt2 (192.168.124.254)
my 3CX is 192.168.124.100
this the opt2 rules
protcol souse port dest port gw
IPv4 * OPT2 net * * * *
IPv4 * OPT2 net * * 53 (DNS)
IPv4 * OPT2 net * OPT2 address *
IPv4 * * * OPT2 net *
these are my port forwarding rules
in these rules 3CX is an Alias
WAN UDP * * This Firewall 5090 3CX 5090 3CX 5090 UDP
WAN UDP * * This Firewall 9000 - 10999 3CX 9000 - 10999 3CX RTP
WAN UDP * * This Firewall 9000 - 10999 3CX 9000 - 10999 3CX RTP
WAN TCP * * This Firewall 5090 3CX 5090 3CX 5090 TCP
WAN TCP * * This Firewall 5065 3CX 5065 3CX SIP
WAN UDP * * This Firewall 5065 3CX 5065 3CX SIP UDP
WAN TCP * * This Firewall 5001 3CX 5001 3CX HTTPS
WAN TCP * * This Firewall 443 3CX 443 3CX HTTPS
then all works fine, only the 5001 and the 443 don't work
all the other ports work fine
i just create an outbond rule
with this, when i do a 3cx network test, all the udp test pass well..
Interface Source Source Port Destination Destination Port NAT Address NAT Port Static Port Description
WAN 3CX * * * Interface address * YES
There's no problem inside my network with my 3cx app, the problem is that the app doesn't connect outside my network.
I've been working on this for 2 days and I don't understand what is the problem. Help me please.
«
Last Edit: September 07, 2020, 11:05:02 pm by Silver77
»
Logged
banym
Sr. Member
Posts: 468
Karma: 31
Free Human Being, FreeBSD, Linux and Mac nerd
Re: 3CX app connection problem outside my network.
«
Reply #1 on:
September 06, 2020, 01:47:37 pm »
You will not only need rules on WAN, you will need NAT Rules, too.
Do you have setup NAT Rules?
Logged
Twitter: banym
Mastodon: banym@bsd.network
Blog:
https://www.banym.de
Silver77
Jr. Member
Posts: 50
Karma: 1
Re: 3CX app connection problem outside my network.
«
Reply #2 on:
September 06, 2020, 01:55:49 pm »
sorry...
what kind of rules?
«
Last Edit: September 06, 2020, 01:58:17 pm by Silver77
»
Logged
Silver77
Jr. Member
Posts: 50
Karma: 1
Re: 3CX app connection problem outside my network.
«
Reply #3 on:
September 06, 2020, 03:23:58 pm »
I understand this is a port forwarding problem because 3CX test works but if I try to do a port test via
https://www.yougetsignal.com/tools
it says that it is closed. I don’t have a lot of experience with port forwarding on dmz. Do you have any idea?
Inviato dal mio iPhone utilizzando Tapatalk
Logged
banym
Sr. Member
Posts: 468
Karma: 31
Free Human Being, FreeBSD, Linux and Mac nerd
Re: 3CX app connection problem outside my network.
«
Reply #4 on:
September 06, 2020, 04:09:07 pm »
You defined incoming Rules but maybe not NAT rules:
https://docs.opnsense.org/manual/nat.html
To do port forwarding you need NAT rules
AND
incoming rules.
If you create incoming NAT rules you can generate the incoming rules automatically.
Logged
Twitter: banym
Mastodon: banym@bsd.network
Blog:
https://www.banym.de
Silver77
Jr. Member
Posts: 50
Karma: 1
Re: 3CX app connection problem outside my network.
«
Reply #5 on:
September 06, 2020, 04:34:21 pm »
I do nat portforwarding rules, you can see in my first post.
The problem is port not pass to dmz...
Logged
banym
Sr. Member
Posts: 468
Karma: 31
Free Human Being, FreeBSD, Linux and Mac nerd
Re: 3CX app connection problem outside my network.
«
Reply #6 on:
September 06, 2020, 06:35:04 pm »
Sorry my fault.
Port 443 can make problems if you're using it for your management. Have you changed the management port to a different one?
Please make some screenshots of your rules and NAT rules and post them.
Logged
Twitter: banym
Mastodon: banym@bsd.network
Blog:
https://www.banym.de
Silver77
Jr. Member
Posts: 50
Karma: 1
Re: 3CX app connection problem outside my network.
«
Reply #7 on:
September 06, 2020, 06:55:02 pm »
Yes i change the default from 443 to 40443.
The problem is port not open for DMZ
Logged
Silver77
Jr. Member
Posts: 50
Karma: 1
Re: 3CX app connection problem outside my network.
«
Reply #8 on:
September 06, 2020, 07:27:36 pm »
Quote from: Silver77 on September 06, 2020, 01:55:49 pm
sorry...
what kind of rules?
«
Last Edit: September 06, 2020, 07:40:27 pm by Silver77
»
Logged
Silver77
Jr. Member
Posts: 50
Karma: 1
Re: 3CX app connection problem outside my network.
«
Reply #9 on:
September 06, 2020, 07:32:37 pm »
this is my configuration pw
«
Last Edit: September 06, 2020, 07:39:24 pm by Silver77
»
Logged
Silver77
Jr. Member
Posts: 50
Karma: 1
Re: 3CX app connection problem outside my network.
«
Reply #10 on:
September 06, 2020, 07:35:45 pm »
this the opt2 roles
Logged
Silver77
Jr. Member
Posts: 50
Karma: 1
Re: 3CX app connection problem outside my network.
«
Reply #11 on:
September 06, 2020, 07:37:39 pm »
this the wan roles
Logged
Silver77
Jr. Member
Posts: 50
Karma: 1
Re: 3CX app connection problem outside my network.
«
Reply #12 on:
September 06, 2020, 07:45:42 pm »
the outbond role...
whit this role the 3cx port test work well
i know something is wrong...
thanks for help me
«
Last Edit: September 06, 2020, 07:48:36 pm by Silver77
»
Logged
Silver77
Jr. Member
Posts: 50
Karma: 1
Re: 3CX app connection problem outside my network.
«
Reply #13 on:
September 07, 2020, 07:25:43 am »
why do users not reply in this forum? more than 100 views. i need you
Logged
Silver77
Jr. Member
Posts: 50
Karma: 1
Re: 3CX app connection problem outside my network.
«
Reply #14 on:
September 07, 2020, 08:52:54 am »
doing tests I receive calls via the app, but I cannot answer. but the app does not register.
«
Last Edit: September 07, 2020, 08:56:51 am by Silver77
»
Logged
Print
Pages: [
1
]
2
« previous
next »
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
3CX app connection problem outside my network. [Solved]