Hi, I just started using routerboards, so I don’t know this platform very well.
I have the following situation:
- A routerboard RB411U (RouterOS version 5.20, IP address 192.168.2.1) with a Huawei E160E Internet key
- The router is connected to a ethernet switch to which are connected a PC (192.168.2.203) and a ethernet device that wait for incoming connections on the port 4001 (192.168.2.80)
I can open a connection from PC to device (telnet 192.168.2.80 4001) and it works perfectly.
I can access to internet through the 3G modem from the PC (modem correctly configured for the connection)
Using another PC with another internet connection (phisically disconnected from this 3 devices net) I can ping the router correctly
Suppose the my public ip address (assigned to the RB411U) is 95.74.80.10. From another PC connected to internet I launch a new telnet session (all previous local sessions closed).
telnet 95.74.80.10 4001
result:
Connecting To 95.74.80.10…Could not open connection to the host, on port 4001: Connect failed
I suppose that this is only a configuration problem but I don’t know what.
This is the summary of my configuration:
[admin@MikroTik] > export compact
# jan/02/1970 01:03:58 by RouterOS 5.20
# software id = EK7X-CB7M
#
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m
/port
set 1 name=usb3
/ppp profile
add name=ppp-tim
/interface ppp-client
add dial-on-demand=no modem-init="ATZ;AT+CGDCONT=1,\"IP\",\"ibox.tim.it\"" name=3G phone=*99# port=usb3 profile=ppp-tim
/ip address
add address=192.168.2.1/24 comment="default configuration" interface=ether1
/ip dns
set allow-remote-requests=yes servers=217.200.200.42,213.230.129.10
/ip firewall nat
add action=masquerade chain=srcnat out-interface=3G
add action=dst-nat chain=dstnat comment="Forward dei dati verso la periferica" dst-port=4001 in-interface=3G protocol=tcp \
to-addresses=192.168.2.80 to-ports=4001
/system logging
add topics=debug
[admin@MikroTik] >
Can anyone help me?
Thanks.