configurazione MULTIGROUP per soho77 + nat
Inviato: mar 07 nov , 2006 2:03 pm
Dovendo configurare una connessione da un cliente che sta a 300km da casa mia vorrei che essa funzionasse al primo colpo. Sarà impossibile. Vi chiedo un sostengo nel dirmi se la config che segue è corretta. E' una punto punto multigroup telecom con 8 ip statici: PTP xx.37.xx.xx 255.255.255.252 e la lan pubblica è xx.51.xx.184 (il default gateway è xx.51.xx.185). Il traffico entrante (porta 80 e 7070) dovrà essere diretto ad un server con ip 192.168.2.200 255.255.255.0
E' giusto quanto segue?
Grazie...
E' giusto quanto segue?
Codice: Seleziona tutto
version 12.4
no service pad
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname xx
!
boot-start-marker
boot-end-marker
!
no logging buffered
enable secret 5 Password
!
no aaa new-model
!
resource policy
!
!
!
ip cef
ip name-server 151.99.125.2
ip name-server 151.99.125.3
!
!
!
interface Ethernet0
ip address 192.168.2.1 255.255.255.0 secondary
ip address xx.51.xx.186 255.255.255.248
ip nat inside
ip virtual-reassembly
no ip mroute-cache
hold-queue 100 out
!
interface ATM0
no ip address
atm vc-per-vp 64
no atm ilmi-keepalive
dsl operating-mode auto
!
interface ATM0.1 point-to-point
ip address xx.37.xx.xx 255.255.255.252
ip nat outside
ip inspect myfw out
ip virtual-reassembly
no snmp trap link-status
pvc 8/35
encapsulation aal5snap
!
!
ip route 0.0.0.0 0.0.0.0 ATM0.1
ip http max-connections 1
!
ip nat inside source list 102 interface ATM0.1 overload
ip nat inside source static tcp 192.168.2.200 80 interface ATM0.1
ip nat inside source static tcp 192.168.2.200 7070 interface ATM0.1
!
!
!
!
line con 0
exec-timeout 120 0
login local
no modem enable
stopbits 1
line aux 0
line vty 0 4
access-class 23 in
exec-timeout 120 0
login local
length 0
!
scheduler max-task-time 5000
end