cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3140
Views
0
Helpful
3
Replies

Cisco 877 - NAT and Port forwarding with 6 Static IP

a.portesi
Level 1
Level 1

I've 8 Static IP assigned me from my ISP.

  • x.y.w.56 (not usable)
  • x.y.w.57
  • x.y.w.58
  • x.y.w.59
  • x.y.w.60
  • x.y.w.61
  • x.y.w.62
  • x.y.w.63 (no usable)

Subnet 255.255.255.248

I've a 877 Router and I would to:

  • NAT al LAN Client with x.y.w.57
  • Configure some ports ( i.e. 80 and 443) to be forewarded from x.y.w.57 to one LAN Server ( i.e. 192.168.0.1)
  • Configure some ports ( i.e. 443) to be forewarded from x.y.w.58 to another LAN Server ( i.e. 192.168.0.2)

It is possible?

How?

Thanks

3 Replies 3

cadet alain
VIP Alumni
VIP Alumni

Hi,

yes it is possible.

1) NAT client:  ip nat inside source list 1 pool mypool overload

                          ip nat pool mypool x.y.w.57 x.y.w.57 prefix-length 29

                          access-list 1 permit host

2) for the port forwarding:

  ip nat inside source static tcp 192.168.0.1 80  x.y.w.57 80 extendable

  ip nat inside source static tcp 192.168.0.1 443  x.y.w.57 443 extendable

  ip nat inside source static tcp 192.168.0.2 80  x.y.w.58 443 extendable

configure your interfaces for nat with ip nat inside and ip nat outside.

Regards.

Alain

Don't forget to rate helpful posts.

Hi Alain,

     i'm having troubles somewhere but don't know where...

     can you post a sample for a solution like this?

     thank you in advance

Hi,

post your config and  explain what problems you have.

Regards.

Alain

Don't forget to rate helpful posts.