cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
773
Views
1
Helpful
9
Replies

Port Forwarding on a different subnet.

Karakas
Level 1
Level 1

I have a Isp provided Vodafone router which is connected to my Cisco router (897 VA-VAB). My main PC is connected to the Cisco router and therefore I have internet on the pc. When I try to port forward from my Vodafone router it says that it can't port forward to a different Subnet. Is there a way to fix this without unplugging my RJ45 cable and plugging it into my Vodafone router?

Karakas_0-1734797888729.png

 

1 Accepted Solution

Accepted Solutions

Do port forwarding in both

1- Cisco router' from PC to IP of link connect cisco to Vodafone

2- Vodafone from subnet of link connect cisco to Vodafone to Internet 

MHM

 

View solution in original post

9 Replies 9

Do port forwarding in both

1- Cisco router' from PC to IP of link connect cisco to Vodafone

2- Vodafone from subnet of link connect cisco to Vodafone to Internet 

MHM

 

Karakas
Level 1
Level 1

I misscliked the accept solution button. Can you specify some commands for me to use in order to do that on the cisco router?. It would be helpful thanks.

Ip nat inside source static udp/tcp <pc ip> <port> <interface <port>

MHM

Which interface should I use where you say interface?

Router-Interface-Vodafone 

MHM

Do you mean in the vodafone router or on cisco cli? cause I can't understand.

can you draw topology i will write note in your topology 

MHM

Karakas
Level 1
Level 1

Here is my topology 

Untitled.png

 red is the vodafone router, black is the cisco router and green is my pc

PC have IP a.a.a.1 

Cisco router interface connect to Vodafone have IP b.b.b.1 

Port forwarding 

Ip nat inside source static tcp/udp <a.a.a.1> <port> <b.b.b.1> <port>

This make cisco router do port forwarding to from a.a.a.1 to b.b.b.1 and then you config Vodafone to do port forwarding again from b.b.b.1 to public IP it get from internet 

MHM