Cleard
IS-IT--Management
- Mar 21, 2011
- 4
Hi all,
i have 3 card (external card ip= X.X.64.189 , dmz card ip=192.168.1.1, internal card ip=192.168.2.4)
i whant to be able from internet My home to access a web server that is in the internal network 192.168.2.107
What is wrong with my config??
here is my config:
PIX Version 8.0(3)
!
hostname Pix
domain-name <My_Internal_domain_name>
enable password vlOeTZx0QDg3MbCg encrypted
names
name 192.168.2.29 PBX description ASTERISK
name 192.168.2.106 webserver name 192.168.2.190 OutSide_IP
name X.X.64.189 Outside_Interface
!
interface Ethernet0
nameif outside
security-level 0
ip address Outside_Interface 255.255.255.192
ospf cost 10
!
interface Ethernet1
nameif inside
security-level 100
ip address 192.168.2.4 255.255.255.0
ospf cost 10
!
interface Ethernet2
shutdown
nameif dmz
security-level 4
ip address 192.168.1.1 255.255.255.0
ospf cost 10
!
ftp mode passive
clock timezone EST -5
clock summer-time EDT recurring
dns domain-lookup outside
dns domain-lookup inside
dns server-group DefaultDNS
name-server none
name-server 192.168.2.80
domain-name My domain name
dns server-group Pret
name-server 208.85.113.10
name-server 208.71.9.130
object-group service Asterisk udp
port-object range sip 65535
object-group icmp-type DM_INLINE_ICMP_1
icmp-object echo-reply
icmp-object time-exceeded
icmp-object traceroute
access-list outside_access_in extended permit udp any range sip 65300 host PBX range sip 65300
access-list inside_access_in extended permit icmp any any
access-list inside_access_in extended permit ip any any
access-list outside_access_in_1 extended permit icmp any any object-group DM_INLINE_ICMP_1
access-list outside_access_in_1 extended permit tcp any host Outside_Interface eq www
pager lines 24
logging enable
logging asdm informational
inationerrors
mtu outside 1500
mtu inside 1500
mtu dmz 1500
icmp unreachable rate-limit 1 burst-size 1
asdm image flash:/asdm-603.bin
asdm location PBX 255.255.255.255 inside
asdm location Mabe 255.255.255.255 inside
asdm location OutSide_IP 255.255.255.255 inside
asdm history enable
arp timeout 14400
nat-control
global (outside) 1 interface
global (inside) 101 interface
nat (inside) 1 192.168.0.0 255.255.0.0
nat (dmz) 1 192.168.1.0 255.255.255.0
access-group outside_access_in_1 in interface outside
access-group inside_access_in in interface inside
route outside 0.0.0.0 0.0.0.0 X.X.64.129 1
route outside X.X.64.0 255.255.255.0 X.X.64.129 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout uauth 0:05:00 absolute
dynamic-access-policy-record DfltAccessPolicy
aaa-server Cleard protocol radius
aaa-server Cleard host 192.168.2.107
http server enable
http 0.0.0.0 0.0.0.0 inside
no snmp-server location
no snmp-server contact
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
message-length maximum 1280
policy-map global_policy
class inspection_default
inspect ftp
inspect h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect esmtp
inspect sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
inspect dns preset_dns_map
!
service-policy global_policy global
smtp-server 192.168.2.83
prompt hostname context
thanks for any help
i have 3 card (external card ip= X.X.64.189 , dmz card ip=192.168.1.1, internal card ip=192.168.2.4)
i whant to be able from internet My home to access a web server that is in the internal network 192.168.2.107
What is wrong with my config??
here is my config:
PIX Version 8.0(3)
!
hostname Pix
domain-name <My_Internal_domain_name>
enable password vlOeTZx0QDg3MbCg encrypted
names
name 192.168.2.29 PBX description ASTERISK
name 192.168.2.106 webserver name 192.168.2.190 OutSide_IP
name X.X.64.189 Outside_Interface
!
interface Ethernet0
nameif outside
security-level 0
ip address Outside_Interface 255.255.255.192
ospf cost 10
!
interface Ethernet1
nameif inside
security-level 100
ip address 192.168.2.4 255.255.255.0
ospf cost 10
!
interface Ethernet2
shutdown
nameif dmz
security-level 4
ip address 192.168.1.1 255.255.255.0
ospf cost 10
!
ftp mode passive
clock timezone EST -5
clock summer-time EDT recurring
dns domain-lookup outside
dns domain-lookup inside
dns server-group DefaultDNS
name-server none
name-server 192.168.2.80
domain-name My domain name
dns server-group Pret
name-server 208.85.113.10
name-server 208.71.9.130
object-group service Asterisk udp
port-object range sip 65535
object-group icmp-type DM_INLINE_ICMP_1
icmp-object echo-reply
icmp-object time-exceeded
icmp-object traceroute
access-list outside_access_in extended permit udp any range sip 65300 host PBX range sip 65300
access-list inside_access_in extended permit icmp any any
access-list inside_access_in extended permit ip any any
access-list outside_access_in_1 extended permit icmp any any object-group DM_INLINE_ICMP_1
access-list outside_access_in_1 extended permit tcp any host Outside_Interface eq www
pager lines 24
logging enable
logging asdm informational
inationerrors
mtu outside 1500
mtu inside 1500
mtu dmz 1500
icmp unreachable rate-limit 1 burst-size 1
asdm image flash:/asdm-603.bin
asdm location PBX 255.255.255.255 inside
asdm location Mabe 255.255.255.255 inside
asdm location OutSide_IP 255.255.255.255 inside
asdm history enable
arp timeout 14400
nat-control
global (outside) 1 interface
global (inside) 101 interface
nat (inside) 1 192.168.0.0 255.255.0.0
nat (dmz) 1 192.168.1.0 255.255.255.0
access-group outside_access_in_1 in interface outside
access-group inside_access_in in interface inside
route outside 0.0.0.0 0.0.0.0 X.X.64.129 1
route outside X.X.64.0 255.255.255.0 X.X.64.129 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout uauth 0:05:00 absolute
dynamic-access-policy-record DfltAccessPolicy
aaa-server Cleard protocol radius
aaa-server Cleard host 192.168.2.107
http server enable
http 0.0.0.0 0.0.0.0 inside
no snmp-server location
no snmp-server contact
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
parameters
message-length maximum 1280
policy-map global_policy
class inspection_default
inspect ftp
inspect h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect esmtp
inspect sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
inspect dns preset_dns_map
!
service-policy global_policy global
smtp-server 192.168.2.83
prompt hostname context
thanks for any help