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

How to do port forwarding

Hiya, i'm currently trying to open and forward a few ports to specific machines, but it doesn't seem to be working. This is how i've done it thus far:

Definitions > Services >
'TEST1'
Protocol=TCP/UDP SourcePort=21077 DestPort=21077

Definitions > Networks >
'MACHINE1'
Value=10.1.1.4

Network > NAT/MASQ >
Rule type: DNAT/SNAT
Packets to match:
Source: ANY
Dest Address: 'MACHINE1'
Service: TEST1
Change Source to: NO CHANGE
Change dest to: NO CHANGE
Service destination: TEST1 (21077)

Packet Filter > Rules >
Defined on the top is:
source=ANY service=TEST1 Action=ALLOW Dest=MACHINE1


What could i possibly have setup wrong?


This thread was automatically locked due to age.
Parents
  • First, the definition of service, TEST1, are you *sure* the source port is 21077?  Try changing src port to: 1024:65535

    Second the NAT rule is wrong I think.

    Make it to read so:
    Source IP: ANY
    Destination IP: Red Interface of firewall (ie external IP)
    Service: TEST1
    Change source: no
    Change destination to: MACHINE1
    Change service: no

    The packet filter rule looks OK, but check that you have activated the rule!

    Regards,
    Simon Shaw.

    Hiya, i'm currently trying to open and forward a few ports to specific machines, but it doesn't seem to be working. This is how i've done it thus far:

    Definitions > Services >
    'TEST1'
    Protocol=TCP/UDP SourcePort=21077 DestPort=21077

    Definitions > Networks >
    'MACHINE1'
    Value=10.1.1.4

    Network > NAT/MASQ >
    Rule type: DNAT/SNAT
    Packets to match:
    Source: ANY
    Dest Address: 'MACHINE1'
    Service: TEST1
    Change Source to: NO CHANGE
    Change dest to: NO CHANGE
    Service destination: TEST1 (21077)

    Packet Filter > Rules >
    Defined on the top is:
    source=ANY service=TEST1 Action=ALLOW Dest=MACHINE1


    What could i possibly have setup wrong?
  • Ah of course! That fixed it right up. Thanks for that Simon!
Reply Children