This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Please help me understand Portforwarding- Im lost!

[FONT="Arial"]Hi, home user of UTM 9 and having a lot of trouble understanding how to port forward.  (I just want to do Simple port forwarding like you would on a domestic $50 router!)

I think the problem is I'm not sure which direction traffic is going in my situation, i'm just an amateur so I have a lot of gaps in my knowledge.

MY SETUP -
Single Wan & Single Lan.
The WAN is a PPPoE connection (ADSL)
The LAN has an ip of 192.168.1.1

DESIRED OUTCOME:
I want to port forward the ports 5060 and 9000 to 9014 to a PC on my internal lan with an IP address of 192.168.1.2

WHY:
It is running 3cx server (a VOIP telephone system) and in order for it to work, those ports must be forwarded/unblocked by the firewall so it can communicate with the VOIP provider)

QUESTION 1:
I dont understand the direction the data is going, and I am thus unsure what to key into the fields under 'New Nat rule', could anyone break this down for me?


ie Is the data going from :
Internet (voip provider) -> WAN -> LAN 
or
192.168.1.2 (PC with VOIP SERVER) -> WAN -> Internet (Voip Provider)

QUESTION 2:
Can anyone advise the settings for these fields: (under new nat rule)
1. For Traffic From:
2. Using service: (I think the values would be 5060 & 9000:9014?)
3. Going to:

and
1. change the destination to: (I assume it is host 192.168.1.2?) 


QUESTION 3:
Lastly, is creating a new nat rule the only thing i have to do to get this to work for me, or do i have to add firewall rules too under Network Protection -> Firewall?


[:S]

Thanks everyone!![/FONT]


This thread was automatically locked due to age.
Parents
  • Ah.  So, the traffic is coming from 192.168.1.2 on port UDP 5060 and is trying to reach 192.198.87.70 on port UDP 3478.  There we go, now we can create a new firewall rule, the source is your machine, the UDP source port is 5060 and the UDP destination port is 3478, and the destination IP is 192.198.87.70.

    Try that and see if it shows you the love?
Reply
  • Ah.  So, the traffic is coming from 192.168.1.2 on port UDP 5060 and is trying to reach 192.198.87.70 on port UDP 3478.  There we go, now we can create a new firewall rule, the source is your machine, the UDP source port is 5060 and the UDP destination port is 3478, and the destination IP is 192.198.87.70.

    Try that and see if it shows you the love?
Children
  • Ah.  So, the traffic is coming from 192.168.1.2 on port UDP 5060 and is trying to reach 192.198.87.70 on port UDP 3478.  There we go, now we can create a new firewall rule, the source is your machine, the UDP source port is 5060 and the UDP destination port is 3478, and the destination IP is 192.198.87.70.

    Try that and see if it shows you the love?


    Well it showed me the love.

    Firewall checker passed.  I manually created a firewall rule as you advised, with sucess.

    All I can say, is I suspect the 'create auto firewall' checkbox / process under the nat entries does not work.  You have to do it manually.

    I next have to set up two bit torrent clients with portforwarding, i'll see how i go and report back if any issues.
  • Well it showed me the love.

    Firewall checker passed.  I manually created a firewall rule as you advised, with sucess.

    All I can say, is I suspect the 'create auto firewall' checkbox / process under the nat entries does not work.  You have to do it manually.

    I next have to set up two bit torrent clients with portforwarding, i'll see how i go and report back if any issues.


    Aha! The love is good!
    I would be very surprised if it wasn't working, I would take another look at the DNAT rule for any reason why it wouldn't be matching.  Keep in mind, that DNAT rule is for inbound traffic, and the firewall rule that we created allowed outbound traffic. 

    I'd be happy to try and help with any bit torrent issues too, but that might be better in it's own thread.
  • Thanks mate you're  legend!!!!!  [:)]