Walter --
OK, I've made the following changes (and I'm obviously missing
something here:
[Reminder, I want to have the firewall route/allow to my internal FTP
server (which gets it's DHCP from the firewall, max lease time; and
also now add an internal web server also routeable from the Outside).
Maybe someone has an example setup working for their internal FTP or
Web Servers routable and accessible to the outside?
Mucho thanks to anyone who can help; I sort of work on this in spurts
as I can break away from other things.
pixfirewall(config)# write terminal
Building configuration...
: Saved
:
PIX Version 6.3(5)
interface ethernet0 auto
interface ethernet1 auto
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password XXXXXXXXXXXX encrypted
passwd YYYYYYYYYYYYYYYYYYY encrypted
hostname pixfirewall
domain-name vitalmedianet.com
clock timezone GMT/BST 0
clock summer-time GMT/BDT recurring last Sun Mar 1:00 last Sun Oct 2:00
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 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
name 192.168.1.21 Canal
object-group service SSH_group tcp
port-object eq ssh
access-list outside_access_in remark SSH
access-list outside_access_in permit tcp any object-group SSH_group any
object-group SSH_group
#I had access-list stuff added for FTP, as above for SSH, didn't work
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside 75.7.239.233 255.255.255.0
ip address inside 192.168.1.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm location Canal 255.255.255.255 outside
pdm location 75.7.239.233 255.255.255.255 inside
pdm location Canal 255.255.255.255 inside
pdm location 192.168.1.11 255.255.255.255 inside
pdm logging informational 100
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
# Why won't this route work?
static (inside,outside) tcp 75.7.239.233 ftp Canal ftp netmask
255.255.255.255 0 0
static (inside,outside) tcp 75.7.239.233 www 192.168.1.11 www netmask
255.255.255.255 0 0
#obviously missing something
access-group outside_access_in in interface outside
route outside 0.0.0.0 0.0.0.0 75.7.239.238 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
aaa authentication ssh console LOCAL
http server enable
http 192.168.1.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server community public
no snmp-server enable traps
floodguard enable
telnet timeout 5
ssh 192.168.1.0 255.255.255.0 inside
ssh timeout 5
console timeout 0
dhcpd address 192.168.1.2-192.168.1.254 inside
dhcpd dns 206.13.29.12 206.13.30.12
dhcpd lease 1048575
dhcpd ping_timeout 750
dhcpd enable inside
...
[OK]
pixfirewall(config)#
Walter Roberson wrote:
> In article <. com>,
> fwallace99 <> wrote:
> >I have an internal (192.168.1.x) server that is hosting FTP. Works fine
> >internally.
>
> >I want to PAT with the CISCO Pix 506E so that users can FTP into the
> >server and upload files, download, etc.
>
> >PIX Version 6.3(5)
> >name 192.168.1.xx Canal
> >object-group service FTP_group tcp
> > description FTP
> > port-object eq ftp
>
> >access-list outside_access_in permit tcp any object-group FTP_group any object-group FTP_group
>
> That is only going to match if the source port is 21 and the destination
> port is 21. Take out the first object-group FTP_group
>
> >access-list outside_access_in remark FTP
> >access-list outside permit tcp any host Canal eq ftp
>
> Notice that that second line has a different access list name.
> It is therefore not part of the outside_access_in as might be implied
> by the remark directly above.
>
> Changing the ACL name will help, as the reference is to the *internal*
> host IP, but ACLs applied to the outside interface must refer to
> the *public* host IP.
>
> Besides, once the FTP_group line is fixed this other line will
> be redundant. Just remove it -- there are some other reasons not
> to try to salvage it.
>
> >ip address outside 75.7.239.233 255.255.255.0
> >ip address inside 192.168.1.1 255.255.255.0
>
> >global (outside) 1 interface
> >nat (inside) 1 0.0.0.0 0.0.0.0 0 0
> >static (inside,outside) Canal 75.7.239.233 netmask 255.255.255.255 0 0
>
> That's a NAT configuration, not a PAT configuration. And in PIX 6.x,
> you cannot NAT the outside IP address by IP number.
>
> static (inside,outside) tcp interface ftp Canal ftp 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 75.7.239.238 1
> >route outside 75.7.239.233 255.255.255.255 75.7.239.238 1
> >route outside 75.7.239.233 255.255.255.255 Canal 2
>
> Those last two route statements are wrong and should be removed.
>
> >dhcpd address 192.168.1.2-192.168.1.254 inside
>
> Your DHCP pool overlaps with your definition of host Canal, which
> is going to cause problems for you.
|