Ho 2 configurazioni.
La prima il pc 192.168.0.13 naviga perfettamente ed ha tutte le porte da me aperte perfettamente funzionanti, l'unica pecca è che nessun altro ip della lan naviga..
ecco la prima config:
Codice: Seleziona tutto
: Saved
: Written by enable_15 at 13:39:13.732 UTC Fri Jan 5 2007
PIX Version 6.3(5)
interface ethernet0 10baset
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password ******** encrypted9
passwd ******* encrypted
hostname balbypix
domain-name ciscopix.com
fixup protocol dns maximum-length 512
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol ils 389
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol tftp 69
names
access-list outside_access_in permit ip any any
access-list emule permit tcp any any eq 4666
access-list emule permit udp any any eq 4675
access-list emule permit tcp any any eq 31889
access-list emule permit udp any any eq 31889
access-list torrent permit tcp any any eq 31889
access-list torrent permit udp any any eq 31889
access-list enule permit tcp any any eq 4666
access-list enule permit udp any any eq 4675
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside 62.94.xxx.xxx 255.255.255.248
ip address inside 192.168.0.254 255.255.0.0
ip audit info action alarm
ip audit attack action alarm
pdm location 192.168.0.254 255.255.255.255 inside
pdm location 192.168.0.13 255.255.255.255 inside
pdm location 0.0.0.0 255.255.255.248 inside
pdm location 0.0.0.0 255.255.255.248 outside
pdm location 192.168.0.0 255.255.255.0 inside
pdm location 62.94.xxx.xxx 255.255.255.248 inside
pdm location 62.94.xxx.xxx 255.255.255.255 outside
pdm location 192.168.0.0 255.255.255.0 outside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 192.168.0.0 255.255.255.0 0 0
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) tcp interface www 192.168.0.254 www netmask 255.255.255.255 0 0
static (inside,outside) interface 192.168.0.13 netmask 255.255.255.255 0 0
access-group emule in interface outside
route outside 0.0.0.0 255.255.255.248 62.94.xxx.xxx 1
route outside 0.0.0.0 0.0.0.0 62.94.xxx.xxx 1
timeout xlate 0:05:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout sip-disconnect 0:02:00 sip-invite 0:03:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server TACACS+ max-failed-attempts 3
aaa-server TACACS+ deadtime 10
aaa-server RADIUS protocol radius
aaa-server RADIUS max-failed-attempts 3
aaa-server RADIUS deadtime 10
aaa-server LOCAL protocol local
http server enable
http 192.168.0.0 255.255.255.0 inside
http 192.168.0.13 255.255.255.255 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
telnet 192.168.0.0 255.255.255.0 inside
telnet timeout 15
ssh timeout 5
console timeout 0
dhcpd address 192.168.0.21-192.168.0.148 inside
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
dhcpd enable inside
terminal width 80
Cryptochecksum:66400fd2eee5bb1b338aa00209502d1b
: end
ecco la seconda config:
Codice: Seleziona tutto
: Saved
: Written by enable_15 at 13:48:12.259 UTC Fri Jan 5 2007
PIX Version 6.3(5)
interface ethernet0 10baset
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password ******* encrypted
passwd *******U encrypted
hostname balbypix
domain-name ciscopix.com
fixup protocol dns maximum-length 512
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol ils 389
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol tftp 69
names
access-list outside_access_in permit ip any any
access-list emule permit tcp any any eq 4666
access-list emule permit udp any any eq 4675
access-list emule permit tcp any any eq 31889
access-list emule permit udp any any eq 31889
access-list torrent permit tcp any any eq 31889
access-list torrent permit udp any any eq 31889
access-list enule permit tcp any any eq 4666
access-list enule permit udp any any eq 4675
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside 62.94.xxx.xxx 255.255.255.248
ip address inside 192.168.0.254 255.255.0.0
ip audit info action alarm
ip audit attack action alarm
pdm location 192.168.0.254 255.255.255.255 inside
pdm location 192.168.0.13 255.255.255.255 inside
pdm location 0.0.0.0 255.255.255.248 inside
pdm location 0.0.0.0 255.255.255.248 outside
pdm location 192.168.0.0 255.255.255.0 inside
pdm location 62.94.xxx.xxx 255.255.255.248 inside
pdm location 62.94.xxx.xxx 255.255.255.255 outside
pdm location 192.168.0.0 255.255.255.0 outside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 192.168.0.0 255.255.255.0 0 0
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) tcp interface www 192.168.0.254 www netmask 255.255.255.255 0 0
access-group emule in interface outside
route outside 0.0.0.0 255.255.255.248 62.94.xxx.xxx 1
route outside 0.0.0.0 0.0.0.0 62.94.xxx.xxx 1
timeout xlate 0:05:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h225 1:00:00
timeout h323 0:05:00 mgcp 0:05:00 sip 0:30:00 sip_media 0:02:00
timeout sip-disconnect 0:02:00 sip-invite 0:03:00
timeout uauth 0:05:00 absolute
aaa-server TACACS+ protocol tacacs+
aaa-server TACACS+ max-failed-attempts 3
aaa-server TACACS+ deadtime 10
aaa-server RADIUS protocol radius
aaa-server RADIUS max-failed-attempts 3
aaa-server RADIUS deadtime 10
aaa-server LOCAL protocol local
http server enable
http 192.168.0.0 255.255.255.0 inside
http 192.168.0.13 255.255.255.255 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
telnet 192.168.0.0 255.255.255.0 inside
telnet timeout 15
ssh timeout 5
console timeout 0
dhcpd address 192.168.0.21-192.168.0.148 inside
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd auto_config outside
dhcpd enable inside
terminal width 80
Cryptochecksum:66400fd2eee5bb1b338aa00209502d1b
: end
Codice: Seleziona tutto
static (inside,outside) interface 192.168.0.13 netmask 255.255.255.255 0 0
access-group emule in interface outside
poi, se io volessi aprire il pc .13 dall'esterno sulla porta 81 che comandi mi servirebbero?? grazie mille
Alberto[/code]