A
A
Alexander2014-04-14 12:37:52
openvpn
Alexander, 2014-04-14 12:37:52

How to forward a port on cisco

Hello ! Such a task is worth it. There is a computer with the address 10.35.5.213 on which an openvpn server with a tunnel interface 172.16.0.1 is raised, this computer is connected to a Cisco router; .
The question is how to forward 8888 to ip 10.35.5.213 from an external ip router, so that when the openvpn client connects to 157.153.12.69:8888 but redirects to 10.35.5.213:8888, it means which commands in what order and where to enter them.
Thank you !

Answer the question

In order to leave comments, you need to log in

5 answer(s)
A
Ars1s, 2014-04-14
@ALEXLEMUR

ip nat inside source list 101 interface Dialer0 overload
access-list 101 permit ip 10.35.5.0 0.0.0.255 any
access-list 101 permit ip 172.16.0.0 0.0.255.255 any
ip nat inside source static tcp 10.35.5.213 8888 157.15able extendable 888.69
And then hang on the external interface (in the Dialer0 example) created by acl
ip access-group 101 in

S
Sergey Ryzhkin, 2014-04-14
@Franciz

If memory serves, then you go to the cisco, enable editing the config. by typing the "conf t" command and adding the line
ip nat inside source static tcp 10.35.5.213 8888 157.153.12.69 8888

V
Vilos, 2014-04-14
@Vilos

And you need to enter everything that the guys suggested in the enable mode
. That is, first you go to Cisco (ssh or console)
Next, enable
Next, conf t
and then what the guys said above in the posts.

A
Arthur Arthur, 2014-04-14
@aptu_24

Sanya, why are you burning addresses with ports?)))

A
Alexander, 2014-04-14
@ALEXLEMUR

Tried the above - did not help (((

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question