A customer of mine is having spam problems from compromised pc's, I want to restrict the sending of mail on port 25 to only come from 192.168.1.1 (the server). Heres my config, can someone tell me how to alter it to get the desired effect?
Building configuration...
: Saved
:
PIX Version 6.3(4)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password kwPikXMAQgRc4SwL encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
hostname sycbropix
domain-name sycamoregroup.co.uk
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 pptp 1723
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
no fixup protocol smtp 25
fixup protocol sqlnet 1521
fixup protocol tftp 69
names
object-group network INTERNET
description The internet
network-object 0.0.0.0 0.0.0.0
object-group network SYCLON
description Internal network of the London Branch
network-object 192.168.201.0 255.255.255.0
object-group network SYCBRO
description Internal network of the Bromley Branch
network-object 192.168.1.0 255.255.255.0
object-group network GLOBAL
description Static address used for the smtp, http etc.
network-object host 87.224.25.242
object-group service PORTS tcp
description Ports used in the translation
port-object eq smtp
port-object eq www
port-object eq pptp
port-object eq https
port-object eq 55135
port-object eq 55136
port-object eq 4125
object-group service RADMIN tcp
port-object eq 4899
port-object eq 1055
port-object eq 3389
object-group network VPNCLIENT
network-object 172.16.0.0 255.255.255.0
object-group service PCANYWHERE tcp
port-object eq pcanywhere-data
port-object eq 5632
object-group network PCANYWHERE_HOSTS
network-object host 164.6.246.18
network-object host 164.6.246.19
object-group network GLOBAL_real
description Static address used for the smtp, http etc.
network-object 192.168.1.1 255.255.255.255
object-group network GLOBAL_real1
description Static address used for the smtp, http etc.
network-object 192.168.1.250 255.255.255.255
access-list OUTSIDE permit tcp object-group INTERNET object-group GLOBAL object-group PORTS
access-list OUTSIDE permit gre object-group INTERNET object-group GLOBAL
access-list OUTSIDE permit icmp any any echo-reply
access-list OUTSIDE permit icmp any any traceroute
access-list OUTSIDE permit icmp any any time-exceeded
access-list OUTSIDE permit icmp any any unreachable
access-list OUTSIDE permit tcp object-group PCANYWHERE_HOSTS host 83.218.145.26 object-group PCANYWHERE
access-list OUTSIDE permit tcp host 91.84.10.80 object-group GLOBAL object-group RADMIN
access-list OUTSIDE permit tcp host 82.45.130.10 object-group GLOBAL object-group RADMIN
access-list OUTSIDE permit tcp any host 80.80.90.91 eq www
access-list BROMLEY permit ip object-group SYCBRO object-group SYCLON
access-list NONAT permit ip object-group SYCBRO object-group SYCLON
access-list NONAT permit ip object-group SYCBRO object-group VPNCLIENT
access-list SPLIT permit ip object-group SYCBRO object-group VPNCLIENT
access-list outside_access_in permit tcp any host 80.80.90.91 eq www
access-list outside_access_in permit tcp any host 80.80.90.91 eq https
access-list outside_access_in permit tcp any host 87.224.25.242 eq smtp
access-list outside_access_in permit tcp any host 80.80.90.91 eq pptp
access-list outside_access_in permit tcp any host 80.80.90.91 eq 4125
pager lines 24
logging on
logging buffered debugging
mtu outside 1500
mtu inside 1500
ip address outside 80.80.90.91 255.255.255.248
ip address inside 192.168.1.254 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
ip local pool VPNCLIENT 172.16.0.1-172.16.0.254
pdm location 83.218.145.26 255.255.255.255 inside
pdm location 0.0.0.0 255.255.255.255 inside
pdm location 192.168.1.1 255.255.255.255 inside
pdm location 192.168.1.36 255.255.255.255 inside
pdm location 82.45.130.10 255.255.255.255 outside
pdm location 91.84.10.80 255.255.255.255 outside
pdm location 164.6.246.18 255.255.255.255 outside
pdm location 164.6.246.19 255.255.255.255 outside
pdm location 192.168.201.0 255.255.255.0 outside
pdm location 192.168.1.250 255.255.255.255 inside
pdm location 81.138.7.21 255.255.255.255 outside
pdm group SYCBRO inside
pdm group GLOBAL_real inside
pdm group SYCLON outside
pdm group VPNCLIENT outside
pdm group INTERNET outside
pdm group PCANYWHERE_HOSTS outside
pdm group GLOBAL_real1 inside
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list NONAT
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
static (inside,outside) tcp 80.80.90.91 pcanywhere-data 192.168.1.36 pcanywhere-data netmask
255.255.255.255 0 0
static (inside,outside) tcp 80.80.90.91 5632 192.168.1.36 5632 netmask 255.255.255.255 0 0
static (inside,outside) tcp 80.80.90.91 www 192.168.1.1 www netmask 255.255.255.255 0 0
static (inside,outside) tcp interface pptp 192.168.1.1 pptp netmask 255.255.255.255 0 0
static (inside,outside) tcp interface smtp 192.168.1.1 smtp netmask 255.255.255.255 0 0
static (inside,outside) tcp interface https 192.168.1.1 https netmask 255.255.255.255 0 0
static (inside,outside) tcp interface 4125 192.168.1.1 4125 netmask 255.255.255.255 0 0
static (inside,outside) 87.224.25.242 192.168.1.250 netmask 255.255.255.255 0 0
access-group outside_access_in in interface outside
route outside 0.0.0.0 0.0.0.0 87.224.25.241 1
timeout xlate 3:00: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 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 0.0.0.0 255.255.255.255 inside
http 0.0.0.0 0.0.0.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
sysopt connection permit-ipsec
crypto ipsec transform-set 3DES esp-3des esp-sha-hmac
crypto dynamic-map VPNCLIENT 1 set transform-set 3DES
crypto map SYCVP 10 ipsec-isakmp
crypto map SYCVP 10 match address BROMLEY
crypto map SYCVP 10 set pfs group2
crypto map SYCVP 10 set peer 87.224.25.250
crypto map SYCVP 10 set transform-set 3DES
crypto map SYCVP 100 ipsec-isakmp dynamic VPNCLIENT
crypto map SYCVP client authentication LOCAL
crypto map SYCVP interface outside
isakmp enable outside
isakmp key ******** address 87.224.25.250 netmask 255.255.255.255
isakmp identity address
isakmp nat-traversal 20
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption 3des
isakmp policy 10 hash sha
isakmp policy 10 group 2
isakmp policy 10 lifetime 3600
vpngroup reading-vpn address-pool VPNCLIENT
vpngroup reading-vpn split-tunnel SPLIT
vpngroup reading-vpn idle-time 1800
vpngroup reading-vpn password ********
telnet 192.168.1.1 255.255.255.255 inside
telnet 0.0.0.0 0.0.0.0 inside
telnet timeout 5
ssh 82.45.130.10 255.255.255.255 outside
ssh 91.84.10.80 255.255.255.255 outside
ssh 0.0.0.0 0.0.0.0 outside
ssh timeout 15
console timeout 0
terminal width 80
Cryptochecksum:0fa3b542321
cfe4a6ee29
17f41a7072
6
: end
[OK]
Start Free Trial