Community discussions

MikroTik App
 
ilian53
just joined
Topic Author
Posts: 1
Joined: Fri Jan 04, 2019 2:22 pm

Cannot port forward/connect from outside

Fri Jan 04, 2019 2:32 pm

Hello,

I am unable to connect to a server i have hosted on my PC from outside. I have disabled firewall on my PC, my pc is connected directly through the router through ethernet and my router is connected directly to my ISP.

These are my NAT rules:
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; HAIRPIN NAT
chain=srcnat action=masquerade src-address=192.168.88.0/24 dst-address=192.168.88.0/24 log=no log-prefix=""

1 ;;; defconf: masquerade
chain=srcnat action=masquerade out-interface=ether1

2 ;;; TerrariaTCP
chain=dstnat action=dst-nat to-addresses=192.168.88.254 to-ports=7777 protocol=tcp dst-address-list=WAN-IP dst-port=7777 log=no log-prefix=""

3 ;;; Terraria UDP
chain=dstnat action=dst-nat to-addresses=192.168.88.254 to-ports=7777 protocol=udp dst-address-list=WAN-IP dst-port=7777 log=no log-prefix=""

4 ;;; TS3 Server UDP
chain=dstnat action=dst-nat to-addresses=192.168.88.254 protocol=udp dst-address-list=WAN-IP dst-port=9987 log=no log-prefix=""

5 ;;; TS3 Server TCP
chain=dstnat action=dst-nat to-addresses=192.168.88.254 protocol=tcp dst-address-list=WAN-IP dst-port=9987 log=no log-prefix=""

6 ;;; TS3 ServerQuery TCP
chain=dstnat action=dst-nat to-addresses=192.168.88.254 protocol=tcp dst-address-list=WAN-IP dst-port=10011 log=no log-prefix=""

7 ;;; TS3 Server File Transfer TCP
chain=dstnat action=dst-nat to-addresses=192.168.88.254 protocol=tcp dst-address-list=WAN-IP dst-port=30033 log=no log-prefix=""
These are my firewall filter rules:
Flags: X - disabled, I - invalid, D - dynamic
0 D ;;; special dummy rule to show fasttrack counters
chain=forward action=passthrough

1 ;;; defconf: accept ICMP
chain=input action=accept protocol=icmp

2 ;;; defconf: accept established,related
chain=input action=accept connection-state=established,related

3 ;;; defconf: drop all from WAN
chain=input action=drop in-interface=ether1 log=no log-prefix=""

4 ;;; defconf: fasttrack
chain=forward action=fasttrack-connection connection-state=established,related

5 ;;; defconf: accept established,related
chain=forward action=accept connection-state=established,related

6 ;;; defconf: drop invalid
chain=forward action=drop connection-state=invalid

7 ;;; defconf: drop all from WAN not DSTNATed
chain=forward action=drop connection-state=new connection-nat-state=!dstnat in-interface=ether1
The scenarios are these:
1. I try hosting a Terraria server that works on tcp and udp ports 7777. My friend tries to connect but he gets a "connection timed out error"
2. I try hosting a teamspeak server that uses the ports above, but my friend gets the same error "connection timed out" when he tries to connect.

Any ideas as to what i could be doing wrong?

EDIT: Fixed, i was behind my ISP's NAT. I asked them for an actual IP and my issue is now resolved.

Who is online

Users browsing this forum: Bing [Bot] and 27 guests