E
E
Eugene2020-08-26 14:02:38
SSH
Eugene, 2020-08-26 14:02:38

CISCO - How to forward all ports to the internal ubuntu server so that there is access via SSH or Telnet?

CISCO 891K-9
The bottom line in Vlan1 is the cable of the Ubuntu server and other office PCs

FastEthernet8 - WAN port
As I understand it, this is how we display the machine for review from the external Internet:

ip nat inside source static 192.168.0.124 interface FastEthernet8

without specifying ports, as I understand it so all ports should go to the 0.124 machine.
but when connected via white IP via SSH or Telnet, there is a connection to cisco itself !!! not on ubuntu server where SSH is running too!
How to be?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Eugene, 2020-08-28
@programmer403

Solved the problem by adding port 22 to the access-list

ip nat inside source static tcp 192.168.0.124 22 белыйIP 22 extendable
access-list 100 permit tcp any any eq 22

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question