Simple ADSL Router with PIX

Simple ADSL Router with PIX

NewsGroups | Search | Tools
 comp.dcom.sys.cisco  Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Simple ADSL Router with PIX Gary 11-26-2005
Posted by Gary on November 26, 2005, 6:26 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
I have an ADSL router and behind this a PIX. I want to be able to SSH to the
pix from an external source.

I can telnet to the public IP of the router fine.

Looks like this.
ADSL Router is simple.
================
interface ATM0/0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
pvc 0/38
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
!
interface FastEthernet0/0
ip address 10.16.16.3 255.255.255.0
ip nat inside
!This is the inside interface handing off to the PIX
duplex auto
speed auto

interface Dialer0
ip address negotiated
ip nat outside
encapsulation ppp
dialer pool 1
dialer persistent
dialer-group 1
ppp authentication chap callin
ppp chap hostname whatever
ppp chap password 0 whatever
ppp multilink
!
ip nat inside source list 1 interface Dialer0 overload
ip nat inside source static tcp 10.16.16.10 22 212.2.2.50 22 extendable

ip route 0.0.0.0 0.0.0.0 Dialer0
access-list 1 permit 10.16.16.0 0.0.0.255


Pix is Simple.
==========
PIX Version 7.0(1)
names
!
interface Ethernet0
nameif outside
security-level 0
ip address 10.16.16.10 255.255.255.0
!
interface Ethernet1
nameif inside
security-level 100
ip address 10.17.16.1 255.255.255.0

access-group Outside-In in interface outside
route outside 0.0.0.0 0.0.0.0 10.16.16.1 1

ssh <My Ip Address> 255.255.255.255 outside

I have also generated the rsa key using
crypto key gen rsa modulus 1024




The router looks OK.
show ip nat trans : gives
ADSLRtr#show ip nat trans
Pro Inside global Inside local Outside local Outside global
tcp <Routers Public Address>:22 10.16.16.10:22 <My IP Address>:1520
<My IP Address>:1520
tcp <Routers Public Address>:22 10.16.16.10:22 --- ---

Now the PIX does not even see the connection but my NAT on the router should
be sending SSH packets through to it on port 22 and IP 10.16.16.10

Also From the PIX I can ping the ADSL router but no farther?
The router can ping everything fine.

Any pointers please.

G






Posted by Gary on November 26, 2005, 6:54 pm
If you were  Registered and logged in, you could reply and use other advanced thread options

>I have an ADSL router and behind this a PIX. I want to be able to SSH to
>the pix from an external source.
>
> I can telnet to the public IP of the router fine.
>
> Looks like this.
> ADSL Router is simple.
> ================
> interface ATM0/0
> no ip address
> no atm ilmi-keepalive
> dsl operating-mode auto
> pvc 0/38
> encapsulation aal5mux ppp dialer
> dialer pool-member 1
> !
> !
> interface FastEthernet0/0
> ip address 10.16.16.3 255.255.255.0
> ip nat inside
> !This is the inside interface handing off to the PIX
> duplex auto
> speed auto
>
> interface Dialer0
> ip address negotiated
> ip nat outside
> encapsulation ppp
> dialer pool 1
> dialer persistent
> dialer-group 1
> ppp authentication chap callin
> ppp chap hostname whatever
> ppp chap password 0 whatever
> ppp multilink
> !
> ip nat inside source list 1 interface Dialer0 overload
> ip nat inside source static tcp 10.16.16.10 22 212.2.2.50 22 extendable
>
> ip route 0.0.0.0 0.0.0.0 Dialer0
> access-list 1 permit 10.16.16.0 0.0.0.255
>
>
> Pix is Simple.
> ==========
> PIX Version 7.0(1)
> names
> !
> interface Ethernet0
> nameif outside
> security-level 0
> ip address 10.16.16.10 255.255.255.0
> !
> interface Ethernet1
> nameif inside
> security-level 100
> ip address 10.17.16.1 255.255.255.0
>
> access-group Outside-In in interface outside
> route outside 0.0.0.0 0.0.0.0 10.16.16.1 1
>
> ssh <My Ip Address> 255.255.255.255 outside
>
> I have also generated the rsa key using
> crypto key gen rsa modulus 1024
>
>
>
>
> The router looks OK.
> show ip nat trans : gives
> ADSLRtr#show ip nat trans
> Pro Inside global Inside local Outside local Outside
> global
> tcp <Routers Public Address>:22 10.16.16.10:22 <My IP Address>:1520
> <My IP Address>:1520
> tcp <Routers Public Address>:22
> 22 --- ---
>
> Now the PIX does not even see the connection but my NAT on the router
> should be sending SSH packets through to it on port 22 and IP 10.16.16.10
>
> Also From the PIX I can ping the ADSL router but no farther?
> The router can ping everything fine.
>
> Any pointers please.
>
> G
>
>
>
>
>
Did not think it relevant but had standby groups on the inside interfaces as
there are 2 routers for failover.
They looked like this.
interface FastEthernet0/0
ip address 10.16.16.3 255.255.255.0
ip nat inside
duplex auto
speed auto
standby 1 ip 10.16.16.1
standby 1 priority 80
standby 1 preempt

When I removed the standby group and change the IP address of this inside
interface to be 10.16.16.1 it worked straight away!


Grrr...

Bug? oversight? Error?

Gary




Similar ThreadsPosted
Simple Arithmetic on a Router December 27, 2007, 3:25 pm
Simple Network. Cisco PIX and Router. HELP August 15, 2005, 10:29 am
Simple Cisco 1841 router configuration has bad latency on one side. February 8, 2007, 6:32 pm
Simple Cisco 1841 router configuration has bad latency on one side. February 8, 2007, 6:32 pm
adsl router to adsl router April 30, 2007, 11:54 pm
837 ADSL Router No NAT Configuration November 10, 2005, 8:47 am
! help with Cisco 837 ADSL Router March 30, 2006, 7:03 am
QoS on ADSL Router cisco 826 June 9, 2006, 6:13 am
Cisco 827 ADSL Router February 25, 2007, 9:52 pm
Set up router and wic1-adsl January 7, 2008, 3:08 pm

other useful resources:
The Federal Communications Commission (FCC)
Telecommunications Industry Association
Electronic and Software Security Products and Services
International Telecommunication Union

Custom CGI Perl and PHP programming by 1-Script.com

Contact Us | Privacy Policy
The site map in XML format XML site map