Access the answers to your technology questions today.
Subscribe Now
30-day free trial. Register in 60 seconds.
What Makes Experts Exchange Unique?
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.
Try it out and discover for yourself.
Subscribe Now
30-day free trial. Register in 60 seconds.
Join the Community
Give a Little. Get a Lot.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Join the Community
by: lrmoorePosted on 2003-07-06 at 20:37:30ID: 8866544
The static nat map looks fine. Since SSH can use both TCP and UDP on port 22, you might want to add a second acl line for udp nat:
ip nat inside source static udp 192.168.10.1 22 <Public IP address used for inside services> 22
As for an inbound acl:
# permit SSh from only one host to one host:
access-list 123 permit tcp host <host IP> host <public IP> eq 22
access-list 123 permit udp host <host IP> host <public IP> eq 22
# If you leave it at that, you'll now block all inbound traffic that is a response to outbound requests, so you have to compensate:
access-list 123 permit tcp any any established
access-list 123 permit udp any any eq 53
#
# I always put in a last line with "log" so that I can see everything that is blocked (your requirement to log all attempts:
access-list 123 deny ip any any log
No just apply the acl inbound on the external interface...