mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-20 02:07:23 +01:00
157 lines
3.1 KiB
Plaintext
Executable File
157 lines
3.1 KiB
Plaintext
Executable File
!
|
|
! This is automatically generated file. DO NOT MODIFY !
|
|
!
|
|
! Firewall Builder fwb_pix v4.2.0.3430
|
|
!
|
|
! Generated Wed Jan 12 17:40:29 2011 PST by vadim
|
|
!
|
|
! Compiled for pix 8.3
|
|
! Outbound ACLs: supported
|
|
! Emulate outbound ACLs: yes
|
|
! Generating outbound ACLs: no
|
|
! Assume firewall is part of any: yes
|
|
!
|
|
!# files: * firewall91.fw
|
|
!
|
|
! testing new style ASA 8.3 nat commands
|
|
! DNAT rules
|
|
|
|
! N firewall91:NAT:8: error: Can not translate multiple services into one service in one rule.
|
|
! N firewall91:NAT:9: error: Translated service should be 'Original' or should contain single object.
|
|
|
|
!
|
|
! Prolog script:
|
|
!
|
|
|
|
!
|
|
! End of prolog script:
|
|
!
|
|
|
|
|
|
|
|
|
|
interface FastEthernet0
|
|
nameif inside
|
|
security-level 100
|
|
exit
|
|
|
|
interface FastEthernet1
|
|
nameif outside
|
|
security-level 0
|
|
exit
|
|
|
|
|
|
no logging buffered
|
|
no logging console
|
|
no logging timestamp
|
|
no logging on
|
|
|
|
|
|
timeout xlate 3:0:0
|
|
timeout conn 1:0:0
|
|
timeout udp 0:2:0
|
|
timeout sunrpc 0:10:0
|
|
timeout h323 0:5:0
|
|
timeout sip 0:30:0
|
|
timeout sip_media 0:0:0
|
|
timeout half-closed 0:0:0
|
|
timeout uauth 2:0:0 absolute
|
|
|
|
|
|
clear config ssh
|
|
aaa authentication ssh console LOCAL
|
|
|
|
clear config snmp-server
|
|
no snmp-server enable traps
|
|
|
|
clear config ntp
|
|
|
|
|
|
no service resetinbound
|
|
no service resetoutside
|
|
no sysopt connection timewait
|
|
no sysopt nodnsalias inbound
|
|
no sysopt nodnsalias outbound
|
|
|
|
|
|
class-map inspection_default
|
|
match default-inspection-traffic
|
|
|
|
policy-map global_policy
|
|
class inspection_default
|
|
|
|
service-policy global_policy global
|
|
|
|
policy-map type inspect ip-options ip-options-map
|
|
parameters
|
|
eool action allow
|
|
router-alert action clear
|
|
|
|
|
|
!################
|
|
clear config access-list
|
|
clear config object-group
|
|
clear config icmp
|
|
clear config telnet
|
|
!
|
|
! Rule 0 (global)
|
|
access-list inside_acl_in deny ip any any
|
|
access-list outside_acl_in deny ip any any
|
|
|
|
|
|
access-group inside_acl_in in interface inside
|
|
access-group outside_acl_in in interface outside
|
|
|
|
clear xlate
|
|
clear config nat
|
|
clear config object
|
|
|
|
object network hostA:eth0
|
|
host 192.168.1.10
|
|
quit
|
|
object network external_gw2
|
|
host 22.22.22.100
|
|
quit
|
|
object service http
|
|
service tcp destination eq 80
|
|
quit
|
|
object service squid
|
|
service tcp destination eq 3128
|
|
quit
|
|
object service https
|
|
service tcp destination eq 443
|
|
quit
|
|
!
|
|
! Rule 0 (NAT)
|
|
nat (outside,inside) source static any any destination static interface hostA:eth0
|
|
!
|
|
! Rule 1 (NAT)
|
|
nat (outside,inside) source static any any destination static interface hostA:eth0
|
|
!
|
|
! Rule 2 (NAT)
|
|
nat (outside,inside) source static any any destination static external_gw2 hostA:eth0
|
|
!
|
|
! Rule 3 (NAT)
|
|
nat (outside,inside) source static any any destination static interface hostA:eth0 service http http
|
|
!
|
|
! Rule 4 (NAT)
|
|
nat (outside,inside) source static any any destination static interface hostA:eth0 service http http
|
|
!
|
|
! Rule 5 (NAT)
|
|
nat (outside,inside) source static any any destination static interface hostA:eth0 service http squid
|
|
!
|
|
! Rule 6 (NAT)
|
|
nat (outside,inside) source static any any destination static interface hostA:eth0 service https https
|
|
!
|
|
! Rule 7 (NAT)
|
|
nat (outside,inside) source static any any destination static interface hostA:eth0 service http http
|
|
|
|
|
|
|
|
!
|
|
! Epilog script:
|
|
!
|
|
|
|
! End of epilog script:
|
|
!
|