SoFunction
Updated on 2025-04-11

Typical configuration method for easy NAT using outgoing interface addresses

The blog posted is on. This is the simplest nat configuration. You can read it yourself if you need it!
#

sysname RouterA

#

radius scheme system

#

domain system

#

acl number 2000

rule 0 permit source 192.168.0.0 0.0.0.255

rule 1 deny

#

interface Ethernet0/0

ip address 202.1.1.2 255.255.255.248

nat outbound 2000

#

interface Ethernet0/1           

ip address 192.168.0.1 255.255.255.0               /Intranet Gateway/

#

interface NULL0

#

ip route-static 0.0.0.0 0.0.0 202.1.1.1 preference 60   /Configure the default routing/

#

user-interface con 0

user-interface vty 0 4

#

return