cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
279
Views
0
Helpful
1
Replies

Host using NAT for incomming anf PAT for outgoing

mrkbkrhxti
Level 1
Level 1

I am trying to setup a host that accepts incomming traffic via its nat'd address, but when contacting other hosts on the internet uses the outgoing iterface ip address.

I have the incomming NAT working but with the access rule etc, but I can not figure out how to have it not use the the incomming nat address for the outgoing traffic also.

I have an asa-5510.

Thanks,

Mark

1 Reply 1

vitripat
Level 7
Level 7

It is possible. Assuming that the internal server is a TELNET server, you can have following commands in with:

public-ip(for incoming traffic)

private-ip(internal server ip)

static (inside,outside) tcp public-ip 23 private-ip 23

nat (inside) 1 0 0

global (outside) 1 interface

clear xlate

With above commands in, assuming you have correct ACLs in place, all inbound TELNET traffic to public-ip will be directed to private-ip, however, when server itself needs to initiate outbound connection, it will use the IP address on the outside interface IP.

Hope that helps.

Regards,

Vibhor.

Review Cisco Networking products for a $25 gift card