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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IP Raw printing over a pix to pix vpn tunnel 2

Status
Not open for further replies.

slyride

MIS
Feb 6, 2003
50
CO
Hello all,
I have set up a vpn tunnel between 2 sites and it is up and running enough for the computers at remote site to connect to servers at host site. I tried to set up the printer as a local printer on the server at host site using a tcp/ip port that points to the local address of the printer at the remote site. I guess my question is this: Is there any special configuration that needs to be done on the PIXes for that to work or should it work once the tunnel is up? Thanks
Leon
 
When you setup the PIX there is an access list that defines the "interesting" traffic that is supposed to be encrypted and sent over that tunnel. As long at that IP address (and port if you are using extended access lists) of that remote machine is in the access list for the tunnel, it should work. We print through tunnels all time.


It is what it is!!
__________________________________
A+, Net+, I-Net+, Certified Web Master, MCP, MCSA, MCSE, CCNA, CCDA, and few others (I got bored one day)
 
if ur vpn tunnel is a site-to-site (network to network), most probably you've already configured the whole network as the "interesting" traffic, and as long as the printer is treated as one host within the remote network, there should be any problem.

pls let us know if u still face any problem.... good luck
 
Thanks all, Still having trouble though. Here is are the cleaned up configs of the host and remote pix's. I can ping from a machine on the hostnet to a machine that has an established ica or rdp session on the remotenet. From the host pix I cannot ping anything on the remotenet. The printer had the it's default gateway set to it's own ip address, I changed that and it made no difference. So here goes.

HOST PIX
PIX Version 6.3(1)
interface ethernet0 100full
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
hostname HOST1
domain-name mydomain.local
clock timezone MST -7
clock summer-time MDT recurring
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol icmp error
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
name 10.1.0.0 HOST1
name y.y.y.40 HOST1-Outside
name 192.168.10.0 REMOTE1
access-list no_nat permit ip HOST1 255.255.255.0 REMOTE1 255.255.255.0
access-list outside_access_in permit tcp REMOTE1 255.255.255.0 any
access-list site1vpn permit ip HOST1 255.255.255.0 REMOTE1 255.255.255.0
pager lines 24
logging on
logging trap warnings
logging host inside 10.1.0.1
no logging message 106011
mtu outside 1500
mtu inside 1500
ip address outside y.y.y.41 255.255.255.248
ip address inside 10.1.0.30 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
no failover
failover timeout 0:00:00
failover poll 15
no failover ip address outside
no failover ip address inside
pdm location 10.1.0.1 255.255.255.255 inside
pdm location 10.1.0.13 255.255.255.255 inside
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list no_nat
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
access-group outside_access_in in interface outside
route outside 0.0.0.0 0.0.0.0 y.y.y.46 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 RADIUS protocol radius
aaa-server LOCAL protocol local
http server enable
http 10.1.0.1 255.255.255.255 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 myset esp-aes esp-md5-hmac
crypto map pix1map 10 ipsec-isakmp
crypto map pix1map 10 match address site1vpn
crypto map pix1map 10 set peer x.x.x.42
crypto map pix1map 10 set transform-set myset myset2
crypto map pix1map interface outside
isakmp enable outside
isakmp key ******** address x.x.x.42 netmask 255.255.255.255
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption aes
isakmp policy 10 hash md5
isakmp policy 10 group 5
isakmp policy 10 lifetime 86400
telnet 10.1.0.1 255.255.255.255 inside
telnet timeout 5
ssh timeout 5
console timeout 0
terminal width 80
: end


REMOTE PIX
PIX Version 6.3(4)
interface ethernet0 auto
interface ethernet1 100full
nameif ethernet0 outside security0
nameif ethernet1 inside security100
hostname REMOTE1
domain-name mydomain.local
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 pptp 1723
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
access-list crypto1 permit ip 192.168.10.0 255.255.255.0 10.1.0.0 255.255.255.0
access-list outside_access_in permit tcp 10.1.0.0 255.255.255.0 any
access-list no_nat permit ip 192.168.10.0 255.255.255.0 10.1.0.0 255.255.255.0
pager lines 24
logging on
logging monitor debugging
mtu outside 1500
mtu inside 1500
ip address outside x.x.x.42 255.255.255.248
ip address inside 192.168.10.1 255.255.255.0
ip audit info action alarm
ip audit attack action alarm
pdm location 192.168.10.100 255.255.255.255 inside
pdm location 10.1.0.0 255.255.255.0 outside
pdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list no_nat
nat (inside) 1 0.0.0.0 0.0.0.0 0 0
access-group outside_access_in in interface outside
route outside 0.0.0.0 0.0.0.0 x.x.x.41 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
aaa authentication ssh console LOCAL
aaa authentication telnet console LOCAL
http server enable
http 192.168.10.100 255.255.255.255 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 myset esp-aes esp-md5-hmac
crypto map fw01 10 ipsec-isakmp
crypto map fw01 10 match address crypto1
crypto map fw01 10 set peer y.y.y.41
crypto map fw01 10 set transform-set myset
crypto map fw01 interface outside
isakmp enable outside
isakmp key ******** address y.y.y.41 netmask 255.255.255.255
isakmp policy 10 authentication pre-share
isakmp policy 10 encryption aes
isakmp policy 10 hash md5
isakmp policy 10 group 5
isakmp policy 10 lifetime 86400
telnet 192.168.10.100 255.255.255.255 inside
telnet timeout 5
ssh 192.168.10.100 255.255.255.255 inside
ssh timeout 5
console timeout 0
dhcpd address 192.168.10.20-192.168.10.30 inside
dhcpd dns 10.1.0.1 10.1.0.13
dhcpd lease 3600
dhcpd ping_timeout 750
dhcpd domain pprmwan.local
dhcpd auto_config outside
dhcpd enable inside
terminal width 80
: end


So there it is. I really apprecaite the help on this. This is my first realworld experience with cisco vpn.
 
Ok so after further investigation it appears that I have wasted my time and yours. The problem was that the printer needed to be powercycled after the changes were made to it's config. Thanks to all for the help though. Hopefully this experience will be of some use to someone in the future. The printer is a hp laserjet 1300n.
 
Thanks for letting us know your solution!

Computer/Network Technician
CCNA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top