cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
433
Views
3
Helpful
2
Replies

NAT and port redirections

steve
Level 1
Level 1

Am I making life difficult for myself?

I would like adhoc PCAW access thru a NAT router to a host on the LAN.

At the moment NAT is using the WAN ip address (dynamic).

Is it possible to create a static mapping to allow tcp port 5162 and udp port 5163 to the host we have nominated and still retain dynamic NAT?

cheers for any hints/clarity

Steve

2 Replies 2

abruso
Level 1
Level 1

Here is an example of how ours is set up. You are talking about PcAnywhere right?

We use this NAT method:

ip nat inside source static tcp 10.0.0.30 5631 x.x.x.90 5030 extendable

ip nat inside source static tcp 10.0.0.31 5631 x.x.x.90 5032 extendable

ip nat inside source static tcp 10.0.0.32 5631 x.x.x.90 5034 extendable

ip nat inside source static tcp 10.0.0.33 5631 x.x.x.90 5036 extendable

ip nat inside source static tcp 10.0.0.34 5631 x.x.x.90 5038 extendable

ip nat inside source static tcp 10.0.0.35 5631 x.x.x.90 5040 extendable

ip nat inside source static udp 10.0.0.30 5632 x.x.x.90 5031 extendable

ip nat inside source static udp 10.0.0.31 5632 x.x.x.90 5033 extendable

ip nat inside source static udp 10.0.0.32 5632 x.x.x.90 5035 extendable

ip nat inside source static udp 10.0.0.33 5632 x.x.x.90 5037 extendable

ip nat inside source static udp 10.0.0.34 5632 x.x.x.90 5039 extendable

ip nat inside source static udp 10.0.0.35 5632 x.x.x.90 5041 extendable

Then, in PcAnywhere, you go into the properties of the remote, and under the details button you change the data and status port to the respectible values that correspond to that IP address.

This is getting me somewhere!

So, bearing in mind that I will have the line:

ip nat inside source list 1 interface Dialer 1 overload

I think I just need to add in your suggestion as follows:

ip nat inside source static tcp 192.168.0.5 5631 interface Dialer1 5030 extendable

ip nat inside source static udp 192.168.0.5 5632 interface Dialer1 5040 extendable

This should work???

I'll find out tomorrow!

many thanks

Steve