Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

[HELP] Pix - 501 Firewall Setup

Status
Not open for further replies.

nisarg86

Technical User
Dec 22, 2003
3
0
0
IN
Hi all
Here is my setup
ADSL MODEM (ROUTER) -------------- (OUTSIDE 0) CISCO PIX --- PC#1 and PC #2 ( INSIDE 1 & 2 )

I have put my modem into Pure bridged Mode .. so PIX will DIAL out to PPPOE

i m using 192.168.1.0/24 on my inside netwrok
pC # 1 IP is 192.168.1.5 ( STATIC)
PC # 2 IP is 192.168.1.10 (STATIC )

Here is my config
Pix# sh run
: Saved
:
PIX Version 6.3(1)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
enable password ycHPr0XSD15QuFR7 encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
hostname PIX
domain-name cisco.com
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
names
pager lines 24
mtu outside 1500
mtu inside 1500
ip address outside pppoe setroute
ip address inside 192.168.1.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm location 192.168.1.10 255.255.255.255 inside
pdm history enable
arp timeout 14400
global (outside) 10 interface
global (inside) 11 192.168.1.10
nat (inside) 10 0.0.0.0 0.0.0.0 0 0
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 RADIUS protocol radius
aaa-server LOCAL protocol local
http server enable
http 192.168.1.10 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.1.10 255.255.255.255 inside
telnet timeout 5
ssh timeout 5
console timeout 0
vpdn group pppoe_group request dialout pppoe
vpdn group pppoe_group localname *****
vpdn group pppoe_group ppp authentication chap
vpdn username nisar986 password ********* store-local
terminal width 80
Cryptochecksum:fccb9b0e5c6c467eadd7b6d2d45d982a
: end
PIX#

I want to do the following things on my PIX

1)I want to forward 36690 port on my INTERNAL PC # 2 (192.168.1.10).

2)We have Night Unlimited Internet during 2 Am to 8 AM so i have to Reauthenticate after 2 Am ..lets say 2:15 AM daily .. is there any specific command to Manually down the PPPOE Interface ??

i hope above information will help Yall to understand ..

Thanx
 
Nisar,
for Port transatation do following commands

access-list acl-out permit tcp any host <ip outside interface> eq 36690

access-group acl-out in interface outside

static (inside,outside) tcp <ip outside interface> 36690 192.168.1.10 36690

I dont know the answer for second part of your post
Thanks
 
can you use nat for incoming traffic from outside if you have dynamic ip address on outside interface? I think u cant caz you dont know what ip you have on outside interface
 
Yes you can. You just use the word "interface" where youwould normally pur the external IP in your static statement. I have that setup at home with a 501 and with DDNS I am always able to get to my servers with port forwarding on my external interface.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top