I have a mikrotir router and linux host behind them. I want connecting by ssh to my linux station from internet. But after I add this rule
Code: Select all
chain=dstnat action=dst-nat to-addresses=192.168.88.251 to-ports=22 protocol=tcp dst-address=external-ip-of-router dst-port=24
Code: Select all
$ nmap myhost.no-ip.org
Starting Nmap 5.00 ( http://nmap.org ) at 2013-11-30 18:41 MSK
Interesting ports on myhost.2com.net (my-external-ip):
Not shown: 991 closed ports
PORT STATE SERVICE
22/tcp open ssh
23/tcp open telnet
53/tcp open domain
80/tcp open http
135/tcp filtered msrpc
139/tcp filtered netbios-ssn
445/tcp filtered microsoft-ds
2000/tcp open callbook
8291/tcp open unknown
Nmap done: 1 IP address (1 host up) scanned in 1.73 seconds
there is all firewall rules: http://pastebin.com/1gP0KgDE