03-12-2004 04:08 PM - edited 03-02-2019 02:15 PM
Hi,
eg i have a server with internal ip (inside - 10.10.10.10) and i wants clients to access using the ip (outside - 192.168.10.10)
if i use NAT, can i use "ip nat inside source" or do i use "ip nat outside source"? Or both works?
Thanks
Steven
03-14-2004 03:07 AM
Hi Steven,
assuming your outside interface is "serial0 " and your inside is "Ethernet 0", then: -
interface serial 0
ip nat outside
interface Ethernet0
ip nat inside
ip nat inside source static 10.10.10.10 192.168.10.10
Hope this helps,
Rowan
03-14-2004 05:34 PM
if traffic will come from outside part of the NAT the best way you can do is using
server -- inside -- router -- outside -- users
ip nat source static 10.10.10.10 192.168.10.10 extendable
10.10.10.0/24 ]?? should be the inside part
192.168.10.0/24 ??? should be outside part
in this way you might create an static NAT entry and you might allow several connections to the internal server.
guSo
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide