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

Mapping a Retards Port!

ok i've given this a good shot, and all my other mappings are working except this.

What i want to do:
Access a webui hosted on: (private IP) 10.0.0.26 PORT 9091 
From my (Public IP) on the same port

So in my browser http://120.***.***.***:9091 -> http://10.0.0.26:9091

the rule i made is:

Port Definition:
Name: WebUi on 26
source:9091
dest: 9091 

NAT Rule:
Traffic Source: Any
Traffic Service: WebUi on 26
Traffic Destination: Red WAN Address (my public ip)
NAT mode: DNAT
Destination: Server 26 (10.0.0.26)
Automatic Rule: Ticked

i checked PF log, and live log. An asfar as i can tell nothing is being blocked.
so any help would be great. because im out of ideas.

edit: should mention i this is not a issue with the server, as i can use my net-gear router with the same ports forwarded, and it works fine.


This thread was automatically locked due to age.
  • Try changing the source in the service definition to 1:65535 and see if that helps.
  • Try changing the source in the service definition to 1:65535 and see if that helps.


    Ok tried it, and now im getting Drops in my Log.

    12:00:00 Default DROP TCP  5X.XX.XX.XX : 64190 →1XX.***.***.*** : 9091
    [SYN] len=48 ttl=122 tos=0x0c srcmac=0:1b:2f:22:25:f4 dstmac=0:c0:26:10:48:b8

    i had 2 friends try to connect, and both got dropped.

    i restarted the NAT rule (turned it off than on)
  • Can you please post a screenshot of the NAT rule, just to make certain that everything is correct.
  • Guess not.

    Another common mistake is for Traffic Destination.  The object in here must be the interface object automatically created by Astaro (it will have an icon that looks like a NIC).  You cannot use a host definition that you create yourself with the same IP Address.  It will be named something like External (WAN) RED (Address).

    BTW, I'm assuming that you just named your external interface RED and aren't actually using an Astaro RED device (Astaro RED).
  • Guess not.

    Another common mistake is for Traffic Destination.  The object in here must be the interface object automatically created by Astaro (it will have an icon that looks like a NIC).  You cannot use a host definition that you create yourself with the same IP Address.  It will be named something like External (WAN) RED (Address).

    BTW, I'm assuming that you just named your external interface RED and aren't actually using an Astaro RED device (Astaro RED).


    yes there the interface definitions that astaro makes, just i called the interface red.

    ok i just did a system restart: and now im seeing something different in the log.

    12:59:50 Connection using NAT TCP
    58.XX.XX.*** : 65113 → 12X.***.***.*** : 9091
    [SYN] len=48 ttl=122 tos=0x0c srcmac=0:1b:2f:22:25:f4 dstmac=0:c0:26:10:48:b8

    use to say just dropped now its saying this? any clue?
  • ok i got it working. scott you where on the right track. the interface was part of the issue but not the whole picture.

    thankz for the help, and your time =)
  • Glad your issue is resolved.  [:)]