Solved

CISCO ASA 5510 - IP REDIRECT

Posted on 2010-09-10
11
945 Views
Last Modified: 2012-05-10
I am configuring a CISCO ASA 5510 and need to set up a redirection.

I want to translate one of the Public IP's to an internal network device IP.

Is this a static NAT route or access list.

Thanks

0
Comment
Question by:FlyingFortress
  • 6
  • 3
  • 2
11 Comments
 
LVL 3

Accepted Solution

by:
Mystique_87 earned 250 total points
ID: 33644892
It has to be a static nat rule. Its format is as shown below:

static(inside, outside) <ipaddress1> <portno1> <ipaddress2> <portno2>

where :
<ipaddress1> is the destination ip address  of the request that appears at the outside interface
<portno1> is the destination port no of the request that appears on the outside interface
<ipaddress2> is the ip address of the internal ip address of the device to which the request is to be redirected to
<portno2> is the port no of the internal device to which the request is to be redirected to
0
 
LVL 17

Assisted Solution

by:Kvistofta
Kvistofta earned 250 total points
ID: 33644929
You also need to allow inbound traffic on outside acl. In that access-list you should use the outside ip address as destination.

Like:

static (inside,outside) 1.2.3.4 192.168.1.10

or

static (inside,outside) tcp 1.2.3.4 80 1921.68.1.10 80

(Mystique87 has a syntax error above)

and!

access-l OUTSIDE ext permit tcp any host 1.2.3.4 eq 80
access-g OUTSIDE in int outside

/Kvistofta
0
 
LVL 3

Expert Comment

by:Mystique_87
ID: 33645001
oh, I am sorry
the access-list is necessary
0
 
LVL 1

Author Closing Comment

by:FlyingFortress
ID: 33645103
Thanks v.Much
0
 
LVL 1

Author Comment

by:FlyingFortress
ID: 33645315
Hi Sorry - I thought i was there but it does not seem to work

Here is the config

global (outside) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0
static (inside,outside) tcp 192.168.50.5 www 222.111.2.25 www netmask 255.255.255.255
static (inside,outside) tcp 192.168.50.5 https 222.111.2.25 https netmask 255.255.255.255
access-group inside_access_in in interface inside control-plane
access-group outside in interface outside

This is conecting to our remote support server

The outside address does not resolve?

I have checked the logs and get this - Deny IP Spoof



0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 17

Expert Comment

by:Kvistofta
ID: 33645334
you need to turn your static around, swap the ip addresses.

static (inside,outside) tcp OUTSIDE-IP www INSIDE-IP www

/Kvistofta
0
 
LVL 1

Author Comment

by:FlyingFortress
ID: 33645473
Hi - Thanks

However, i still dont seem to be able to access the server through the IP....?

Here is a some more info..


object-group service DM_INLINE_SERVICE_1
 service-object ip
 service-object tcp eq www
 service-object tcp eq https
access-list inside_access_in extended permit ip any any
access-list outside extended permit object-group DM_INLINE_SERVICE_1 any host 222.111.2.25
pager lines 24
logging enable
logging asdm informational
mtu management 1500
mtu inside 1500
mtu outside 1500
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0
static (inside,outside) tcp 222.111.2.25 www 192.168.50.5 www netmask 255.255.255.255
static (inside,outside) tcp 222.111.2.25 https 192.168.50.5 https netmask 255.255.255.255
access-group inside_access_in in interface inside control-plane
access-group outside in interface outside
0
 
LVL 1

Author Comment

by:FlyingFortress
ID: 33645742
Here is the log from ping requests:

2      Sep 10 2010      05:28:18      106016                              Deny IP spoof from (99.20.99.150) to 222.111.2.25 on interface outside

It is saying the destination IP address is 0 ???....

Thanks
0
 
LVL 17

Expert Comment

by:Kvistofta
ID: 33645838
How does your routing table look like? show route

/Kvistofta
0
 
LVL 1

Author Comment

by:FlyingFortress
ID: 33645882
Gateway of last resort is 99.20.99.150 to network 0.0.0.0

C    99.20.99.150 255.255.255.248 is directly connected, outside
C    192.168.50.0 255.255.255.0 is directly connected, inside
C    192.168.1.0 255.255.255.0 is directly connected, management
S*   0.0.0.0 0.0.0.0 [1/0] via 99.20.99.150, outside

I can open another question if you would like points as this is spidering into seperate issues.....
0
 
LVL 1

Author Comment

by:FlyingFortress
ID: 33645911
The server is saying failure to detect proxy server if that is any help.

0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
CCNA Data center exam questions 8 76
Cisco ASDM migration 2 18
Cisco Router help 5 50
Sonicwall TZ 205- Dropping Incoming E-mail as IP Spoof 13 87
Cisco Pix/ASA hairpinning The term, hairpinning, comes from the fact that the traffic comes from one source into a router or similar device, makes a U-turn, and goes back the same way it came. Visualize this and you will see something that looks …
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

939 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

5 Experts available now in Live!

Get 1:1 Help Now