2017-03-04 1 views
-2

고정 IP 주소를 가진 Mikrotik 라우터를 통해 ssh를 통해 내 컴퓨터에 연결해야합니다. 라우터 설정 : 나는 로컬 라우터의 웹에서 연결할 수있는 방법은Mikrotik 라우터 포트 포워딩 - 웹에서 액세스 할 수 없음

[[email protected]] /ip firewall nat> print 
0 chain=srcnat action=masquerade out-interface=ether1-gateway 
1 chain=srcnat action=masquerade out-interface=bridge-local 
2 chain=dstnat action=dst-nat to-addresses=192.168.1.18 to-ports=22 
    protocol=tcp dst-address-type=local dst-port=23 

:

ssh [email protected] -p 22 //directly 
ssh [email protected] -p 23 //router port forwarding 
ssh [email protected]*** -p 23 //router's static address 

하지만 지금이 마지막 명령으로 다른 웹에서 연결을 시도 - 그것은 시간 제한 예외와 함께 실패합니다. 뭐가 문제 야? 라우터 구성에 대한 추가 정보를 제공해야한다고 알려주십시오. 고맙습니다!

업데이트 : 내가해야합니까 방화벽 규칙, 규칙 만 0, 1, 3, 4는 트래픽 :

[[email protected]] /ip firewall filter> print 
0 chain=forward action=accept connection-state=established 
1 chain=forward action=accept connection-state=related 
2 chain=forward action=accept protocol=igmp 
3 chain=input action=accept protocol=icmp 
4 chain=input action=accept connection-state=established 
5 chain=input action=accept connection-state=related 
6 chain=input action=accept protocol=udp dst-address=224.0.0.0/4 in-interface=ether1-gateway 
7 chain=forward action=accept protocol=udp dst-address=224.0.0.0/4 in-interface=ether1-gateway out-interface=wlan1 
8 chain=input action=accept protocol=udp dst-port=1001 
9 chain=forward action=accept protocol=udp dst-port=5500 
+0

포트 23에서 들어오는 WAN 트래픽을 차단할 수있는 방화벽/필터 규칙이 있습니까? –

+0

방화벽 규칙으로 질문을 업데이트했습니다. – awfun

답변

3

일부 ISP가 실행에서 그들을 방지하기 위해 그들의 고객의 장비 서비스에 대한 트래픽을 차단한다 서버.

TCP 포트 23은 telnet 데몬의 경우 well-known service port입니다. ISP가 포트를 차단하는 경우 약간의 숫자를 시도하면 ports over 1024이 원하는 연결을 제공 할 수 있습니다.

+0

포트를 2200으로 설정하면 완벽하게 작동합니다. – awfun