cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1987
Views
0
Helpful
60
Replies

Communication between two networks...

stemaxsin
Level 1
Level 1

I have two devices I need to connect and allow one-way communication between...a 2611 router and a PIX 501 Firewall.

On the network behind the 2611, the IP schema is this (IP/SUB/GATE) (10.20.30.x/255.255.0.0/10.20.30.1)

On the network behind the PIX, the IP schema is this (IP/SUB/GATE) (192.168.1.x/255.255.255.0/192.168.1.21)

The PIX is configured for its own internal network and is used as the primary device between its network and the outside world.

The 2611 has not yet been configured, but I'm hoping to be able to configure it to act as a security device for our network.

I have not yet performed any configuration on either of the devices that is necessary to "connect" the two networks. I need to be able to have one-way communication between one computer on the 2611 network (10.20.30.218) and one computer on the PIX network (192.168.1.1) on one specific port (8234).

Is it possible to accomplish this with simply entering the appropriate commands on both devices and if so, how?

I've had a little bit of exposure to the 26xx line, but have no experience at all with any PIX devices. Just can't seem to figure out the Device Manager on the PIX.

Can anyone help me out with the commands necessary to facilitate this configuration? It would be greatly appreciated.

Thank you.

60 Replies 60

stemaxsin
Level 1
Level 1

Anyone...

Buehler...

Buehler...

Buehler...

8^)>

I think I have some of it figured out on the 2611 side, but I'm struggling with the PIX side of things.

Is there anyone out there in good ol' cyberspace that can assist with the configuration of the PIX?

Thanx.

Post your existing pix config.

Here's the existing configuration...

PIX Version 6.3(4)

interface ethernet0 auto

interface ethernet1 100full

nameif ethernet0 outside security0

nameif ethernet1 inside security100

enable password **************** encrypted

passwd **************** encrypted

hostname pixfirewall

domain-name ciscopix.com

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

access-list outside_access_in permit tcp any interface outside eq 3389

access-list outside_access_in permit tcp any eq pop3 any eq pop3

access-list outside_access_in permit tcp any eq 9100 any eq 9100

access-list inside_outbound_nat0_acl permit ip any 192.168.1.64 255.255.255.224

pager lines 24

mtu outside 1500

mtu inside 1500

ip address outside 61.x.x.59 255.255.255.248

ip address inside 192.168.1.21 255.255.255.0

ip audit info action alarm

ip audit attack action alarm

ip local pool vpnpool 192.168.1.71-192.168.1.80

pdm location 192.168.1.1 255.255.255.255 inside

pdm location 216.x.x.185 255.255.255.255 outside

pdm location 55.x.x.136 255.255.255.255 outside

pdm location 194.171.25.88 255.255.255.255 outside

pdm location 194.239.214.118 255.255.255.192 outside

pdm location 192.168.1.64 255.255.255.224 outside

pdm location 192.168.1.22 255.255.255.255 inside

pdm logging informational 100

pdm history enable

arp timeout 14400

global (outside) 1 interface

nat (inside) 0 access-list inside_outbound_nat0_acl

nat (inside) 1 0.0.0.0 0.0.0.0 0 0

static (inside,outside) tcp interface 3389 192.168.1.1 3389 netmask 255.255.255.255 0 0

static (inside,outside) 192.168.1.22 192.168.1.22 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 61.26.241.60 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 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 55.155.192.136 255.255.255.255 outside

http 194.171.25.88 255.255.255.255 outside

http 194.239.214.118 255.255.255.192 outside

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

sysopt connection permit-pptp

telnet timeout 5

ssh timeout 5

console timeout 0

vpdn group PPTP-VPDN-GROUP accept dialin pptp

vpdn group PPTP-VPDN-GROUP ppp authentication mschap

vpdn group PPTP-VPDN-GROUP ppp encryption mppe auto required

vpdn group PPTP-VPDN-GROUP client configuration address local vpnpool

vpdn group PPTP-VPDN-GROUP pptp echo 60

vpdn group PPTP-VPDN-GROUP client authentication local

vpdn username administrator password *********

dhcpd lease 3600

dhcpd ping_timeout 750

dhcpd auto_config outside

terminal width 80

Cryptochecksum:********************************

Hope that helps.

Thanx.

Did that info help at all?

Thanx.

So is this the topology?

10.20.30.x ---- 2611 ---- Internet ---- pix ---- 192.168.1.x

What are you looking to do exactly? Do you want to create a vpn tunnel between the router and the pix?

Or do you simply want to reach the machine behind the pix via the outside address of the pix? If so all you need is this in the pix.

static (inside,outside) tcp interface 8234 192.168.1.1 8234 netmask 255.255.255.255

access-list outside_access_in permit tcp host interface outside eq 8234

would be the address that 10.20.30.218 is being natted to.

No, actually, the topology you detailed is incorrect. Here's what we are dealing with...

10.20.30.x --- 2611 - - PIX --- 192.168.1.x

You see, the 2611 and the PIX are in the same phone closet, but link to different networks. If at all possible, I need to link the 2611 and the PIX directly so that a computer on the 2611 can send information to a computer on the PIX.

Thanx.

Ok, so are you connecting the router to the pix outside interface? Make sure both interfaces are on the same network. Make sure you have a route on 2611 to route to 192.168.1.0 via outside pix interface. Add these statements to the pix. The first is called identity nat, and the second will allow the access from 10. host and your 192. host on tcp port 8234. Post your router config too if you need help there.

static (inside,outside) 192.168.1.1 192.168.1.1 netmask 255.255.255.255

access-list outside_access_in permit tcp host 10.20.30.218 host 192.168.1.1 eq 8234

Well, apparently I did something wrong in the configuration of the 2611 so I've reset the router completely...back to empty settings.

Keep in mind, the 2611 is simply going to act as a firewall for our side of the network.

I have a line running from our existing network (10.20.30.x) to the ETH0/0 port on the router and I was assuming I could run another line from the ETH0/1 port to the PIX on the other network.

I guess I just need to know the easiest way to accomplish this with any combination of these two devices (2611 and PIX) to allow traffic from a computer on the 2611 side to a computer on the PIX side, but not the other way.

Thanx again.

-You're losing me...so you want this?

Internet --- PIX --- 192.168.1.x --- 2611 ---10.20.30.x

-Do you have another router inside your pix?

"I have a line running from our existing network (10.20.30.x) to the ETH0/0 port on the router and I was assuming I could run another line from the ETH0/1 port to the PIX on the other network."

-The pix only has 2 interfaces, you need outside for internet and inside for 192.168.1.0 network. Therefore you would not plug the router directly to the pix. The above would work but you need a way to route to 10 network via 2611 router.

Okay...I guess that was a little confusing. Take a look at the attached image and hopefully that will straighten things out.

The PIX controls 192.168.1.x

The 2611 controls 10.20.30.x

They are two separate networks, but both devices are in the same phone closed. I am just looking for a way to "link" the two networks, using any combination of the aformentioned 2611 and PIX, in a manner that will allow one computer on the 10.20.30.x (2611) network to send data to a computer on the 192.168.1.x (PIX) network in a one-way fashion.

Thanx again.

How many interfaces are there on the 2611? If you have a free one you just need to connect this to a switch on the 192. network. But then you have to deal with how you are going to route to the 10. network from the 192. network. You could at that point add a route on the host.

On the 2611, there are two Ethernet interfaces...Eth0/0 and Eth0/1.

On the PIX, there are five Ethernet ports, one WAN port and four LAN ports.

I'm going to assume I could just connect a patch cord between the 2611 and the PIX. If this is the case, what would be the commands I need to issue to both devices to accommodate the necessary traffic flow I detailed earlier?

Thanx again.

Also, take into consideration that on the 2611, I can connect via console and enter the commands necessary via the command line. However, on the PIX, I am limited to the web-based GUI interface.

But you're already using both interfaces on the 2611.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco