List

Rabu, 18 November 2015

CARA SETTING NAT WEB SERVER DI CISCO


version 12.2
no parser cache
no service single-slot-reload-enable
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
enable secret 5 $1$QCbf$D7PDt6pAZek52ln8EFJt2/
!
hostname outside-filter
!
!
no ip dhcp-client network-discovery
no ip http server
no ip domain-lookup
ip subnet-zero
ip classless
!
!
!    DMZ interface
interface Ethernet0
 ip address 10.10.10.1 255.255.255.0
 ip nat inside
!
!    ISP interface
interface Ethernet1
 ip address 216.93.82.8 255.255.255.240
 ip nat outside
!
!
!    Default route to ISP's gateway
ip route 0.0.0.0 0.0.0.0 216.93.82.1
!    Static route to inside filter router (internal LAN traffic)
ip route 172.17.0.0 255.255.0.0 10.10.10.2
!
!
!    Allow traffic from internal LAN out
access-list 1 permit 172.17.0.0 0.0.255.255
!
ip nat inside source list 1 interface Ethernet1 overload
!    Send incoming SMTP mail traffic Solaris box
ip nat inside source static tcp 10.10.10.5 21 216.93.82.8 25 extendable
!    Send incoming Web traffic to Debian box
ip nat inside source static tcp 10.10.10.3 80 216.93.82.8 80 extendable
!
!
line con 0
 exec-timeout 30 0
 stopbits 1
line vty 0 4
 no login
!
no scheduler allocate
end

Tidak ada komentar:

Posting Komentar