This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to force a route through IPSEC tunnel ??

Dear all,

I am trying to connect a third party network, through IPSEC, and do not succeed due to routing problems. The authentication is enforced by PSK The key was provided by the third party network administrator. The IPSEC tunnel must be established by the external addresses of the VPN gateways in order to access the other party´s host S.S.S.s. 
The IPSEC tunnel is well-established, but I am struggling to get communication flow between both sides through the tunnel. 
When I traceroute from internal host  172.16.X.a to remote host S.S.S.s, I get replies from ASL and all other hops along the Internet (some reply, some drop, some reject ICMP). I guess these hops shoud not appear since the data (was intended to) pass inside the tunnel. 

On packet filtering, I added rules to allow both incoming and outgoing flow from/to my internal host and the network on the other side.

We have several VPN well-established with many branch-offices, but using RSA instead, and the tunnels connect our internal net with internal nets of the remote offices. Unfortunately, we can not use this kind of setup due to restrictions imposed by the administration guys of other side. When I traceroute from my host to any host in any of these other remote sites, I do not see the hops from Internet. The tunnels hide the Internet hops (as it should be, I guess).

The scenario is as follows. Any help will be appreciated. Thanks in advance:

My side:

Internal Net: 172.16.X.X

VPN Gateway: Astaro Security Linux 3.200.
Internal LAN address: 172.16.X.a 
External LAN address: Y.Y.Y.y
Default router (to Internet): Y.Y.Y.r

Internal host made public through SNAT :
Internal LAN address: 172.16.X.b
Public IP through SNAT: Y.Y.Y.z

Third party´s side:

VPN Gateway: Cisco box.
Internal LAN: N/A
External LAN: K.K.K.k

Internal host made public only through IPSEC tunnels:
Valid IP : S.S.S.s

IPSEC Tunnel
Encryption: ESP – 3DES with MD5
Diffie-Hellman Group: 3DES Group 3 (1024-bit prime)
PFS: Disabled
Compression: Disabled
Authentication: PSK
Etc.


Description of the problem:

The IPSEC tunnel is well-established , as seen in the connection log:

000 "VPN_1": Y.Y.Y.y---Y.Y.Y.r...K.K.K.k
000 "VPN_1":   ike_life: 7200s; ipsec_life: 7200s; rekey_margin: 540s; rekey_fuzz: 100%; keyingtries: 0
000 "VPN_1":   policy: PSK+ENCRYPT+TUNNEL+DISABLEARRIVALCHECK; interface: eth1; erouted
000 "VPN_1":   newest ISAKMP SA: #33; newest IPsec SA: #32; eroute owner: #32
000 "VPN_1":   ESP algorithms wanted: 3/000-1/000, 3/000-2/000, 
000 "VPN_1":   ESP algorithms loaded: 3/168-1/128, 3/168-2/160, 

And VPN Routes listing:

0 Y.Y.Y.y/32 -> K.K.K.k/32 => tun0x1022@K.K.K.k 

NAT Rules:
SRC DEST SRC translation DST Translation
S.S.S.s Y.Y.Y.z do not translate 172.16.X.b
172.16.X.b S.S.S.s Y.Y.Y.z do not Translate

In the kernel routing table there is an entry automatically added:
K.K.K.k via Y.Y.Y.r dev ipsec0 

Hope to hear from you soon.

Silver


This thread was automatically locked due to age.
Parents
  • Well let's assume that your fellow cisco owner has a route towards your LAN ( is he using a Cisco 3005 VPN Concentrator or the 3002 Hardware client?) when you do a netstat -rn on the firewall do you have a route to remote networks to ipsec interface?
    itfdesc.conf         radius_dict
    itfhw.conf           rc.d
    agamenon:/etc # cd anpipe
    bash: cd: anpipe: No such file or directory
    agamenon:/etc # cd wanpipe
    agamenon:/etc/wanpipe # ls
    firmware       samples        wanpipe1.conf  wanrouter.rc
    agamenon:/etc/wanpipe # tail wanpipe1.conf
    IGNORE_DCD              = NO
    IGNORE_CTS              = NO
    IGNORE_KEEPALIVE        = NO
    HDLC_STREAMING          = NO
    KEEPALIVE_TX_TIMER      = 10000
    KEEPALIVE_RX_TIMER      = 10000
    KEEPALIVE_ERR_MARGIN    = 5
    SLARP_TIMER             = 0
    TRUE_ENCODING_TYPE      = NO
    DYN_INTR_CFG            = YES
    agamenon:/etc/wanpipe # netstat -rn
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
    10.1.1.0        0.0.0.0         255.255.255.240 U        40 0          0 eth0
    213.22.172.0    0.0.0.0         255.255.254.0   U        40 0          0 eth1
    213.22.172.0    0.0.0.0         255.255.254.0   U        40 0          0 ipsec0
    127.0.0.0       0.0.0.0         255.0.0.0       U        40 0          0 lo
    0.0.0.0         213.22.173.254  0.0.0.0         UG       40 0          0 eth1
    0.0.0.0         0.0.0.0         0.0.0.0         U        40 0          0 eth1
    agamenon:/etc/wanpipe # cd /dev
    agamenon:/dev # ls con*
    console
    agamenon:/dev # ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:40:F4:65[[[:D]]]8:8A
              inet addr:10.1.1.1  Bcast:10.1.1.15  Mask:255.255.255.240
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:130446 errors:0 dropped:0 overruns:0 frame:0
              TX packets:162215 errors:0 dropped:0 overruns:0 carrier:0
              collisions:21947 txqueuelen:100
              Interrupt:12 Base address:0x2000

    eth1      Link encap:Ethernet  HWaddr 00:40:F4:70:22:33
              inet addr:213.22.172.209  Bcast:213.22.173.255  Mask:255.255.254.0
              UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:158847 errors:0 dropped:0 overruns:0 frame:0
              TX packets:163253 errors:0 dropped:0 overruns:0 carrier:0
              collisions:223 txqueuelen:100
              Interrupt:10 Base address:0x4000

    ipsec0    Link encap:Ethernet  HWaddr 00:40:F4:70:22:33
              inet addr:213.22.172.209  Mask:255.255.254.0
              UP RUNNING NOARP  MTU:16260  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:10

    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:8326 errors:0 dropped:0 overruns:0 frame:0
              TX packets:8326 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0

    agamenon:/dev # ifconfig -a
    eth0      Link encap:Ethernet  HWaddr 00:40:F4:65[[[:D]]]8:8A
              inet addr:10.1.1.1  Bcast:10.1.1.15  Mask:255.255.255.240
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:130465 errors:0 dropped:0 overruns:0 frame:0
              TX packets:162234 errors:0 dropped:0 overruns:0 carrier:0
              collisions:21947 txqueuelen:100
              Interrupt:12 Base address:0x2000

    eth1      Link encap:Ethernet  HWaddr 00:40:F4:70:22:33
              inet addr:213.22.172.209  Bcast:213.22.173.255  Mask:255.255.254.0
              UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:158857 errors:0 dropped:0 overruns:0 frame:0
              TX packets:163262 errors:0 dropped:0 overruns:0 carrier:0
              collisions:223 txqueuelen:100
              Interrupt:10 Base address:0x4000

    ipsec0    Link encap:Ethernet  HWaddr 00:40:F4:70:22:33
              inet addr:213.22.172.209  Mask:255.255.254.0
              UP RUNNING NOARP  MTU:16260  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:10

    ipsec1    Link encap:IPIP Tunnel  HWaddr
              NOARP  MTU:0  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:10

    ipsec2    Link encap:IPIP Tunnel  HWaddr
              NOARP  MTU:0  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:10

    ipsec3    Link encap:IPIP Tunnel  HWaddr
              NOARP  MTU:0  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:10

    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:8326 errors:0 dropped:0 overruns:0 frame:0
              TX packets:8326 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0

    agamenon:/dev #
    agamenon:/dev #
    agamenon:/dev #
    agamenon:/dev #
    agamenon:/dev # tail console

    agamenon:/dev # cd /etc
    agamenon:/etc # tail passwd
    bin:x:1:1:bin:/bin:/bin/bash
    daemon:x:2:2[[:D]]aemon:/sbin:/bin/bash
    uucp:x:10:14::/var/lib/uucp/taylor_config:/bin/bash
    wwwrun:x:30:65534[[[:D]]]aemon user for apache:/tmp:/bin/bash
    squid:x:666:666:WWW proxy squid:/var/squid:/bin/bash
    firewall:x:41:31:firewall account:/tmp:/bin/false
    nobody:x:65534:65534:nobody:/tmp:/bin/bash
    system:x:1968:1968::/tmp:/bin/false
    loginuser:x:100:100:login user:/home/login:/bin/bash
    sshd:x:103:103:sshd privsep:/var/empty:/bin/false
    agamenon:/etc # console
    bash: console: command not found
    agamenon:/etc # ifconfig console up
    console: unknown interface: No such device
    agamenon:/etc # cd dev
    bash: cd: dev: No such file or directory
    agamenon:/etc # cd /dev
    agamenon:/dev # ls
    :0              hdg5            hdo             loop4           sdc6
    :1              hdg6            hdo1            loop5           sdc7
    :2              hdg7            hdo2            loop6           sdc8
    :3              hdg8            hdo3            loop7           sdc9
    :4              hdg9            hdo4            netfilter_ipv4  sdd
    :5              hdh             hdo5            null            sdd1
    boot255         hdh1            hdo6            ptmx            sdd10
    console         hdh2            hdo7            pts             sdd11
    fd              hdh3            hdo8            ram             sdd12
    fd0             hdh4            hdo9            ram0            sdd13
    hda             hdh5            hdp             ramdisk         sdd14
    hda1            hdh6            hdp1            random          sdd15
    hda2            hdh7            hdp2            route           sdd2
    hda3            hdh8            hdp3            rtc             sdd3
    hda4            hdh9            hdp4            scd0            sdd4
    hda5            hdi             hdp5            scd1            sdd5
    hda6            hdi1            hdp6            scd10           sdd6
    hda7            hdi2            hdp7            scd11           sdd7
    hda8            hdi3            hdp8            scd12           sdd8
    hda9            hdi4            hdp9            scd13           sdd9
    hdb             hdi5            hdq             scd14           sr0
    hdb1            hdi6            hdq1            scd15           sr1
    hdb2            hdi7            hdq2            scd16           sr10
    hdb3            hdi8            hdq3            scd2            sr11
    hdb4            hdi9            hdq4            scd3            sr12
    hdb5            hdj             hdq5            scd4            sr13
    hdb6            hdj1            hdq6            scd5            sr14
    hdb7            hdj2            hdq7            scd6            sr15
    hdb8            hdj3            hdq8            scd7            sr16
    hdb9            hdj4            hdq9            scd8            sr2
    hdc             hdj5            hdr             scd9            sr3
    hdc1            hdj6            hdr1            sda             sr4
    hdc2            hdj7            hdr2            sda1            sr5
    hdc3            hdj8            hdr3            sda10           sr6
    hdc4            hdj9            hdr4            sda11           sr7
    hdc5            hdk             hdr5            sda12           sr8
    hdc6            hdk1            hdr6            sda13           sr9
    hdc7            hdk2            hdr7            sda14           stderr
    hdc8            hdk3            hdr8            sda15           stdin
    hdc9            hdk4            hdr9            sda2            stdout
    hdd             hdk5            hds             sda3            tty
    hdd1            hdk6            hds1            sda4            tty0
    hdd2            hdk7            hds2            sda5            tty1
    hdd3            hdk8            hds3            sda6            tty10
    hdd4            hdk9            hds4            sda7            tty11
    hdd5            hdl             hds5            sda8            tty12
    hdd6            hdl1            hds6            sda9            tty2
    hdd7            hdl2            hds7            sdb             tty3
    hdd8            hdl3            hds8            sdb1            tty4
    hdd9            hdl4            hds9            sdb10           tty5
    hde             hdl5            hdt             sdb11           tty6
    hde1            hdl6            hdt1            sdb12           tty7
    hde2            hdl7            hdt2            sdb13           tty8
    hde3            hdl8            hdt3            sdb14           tty9
    hde4            hdl9            hdt4            sdb15           ttyS0
    hde5            hdm             hdt5            sdb2            ttyS1
    hde6            hdm1            hdt6            sdb3            urandom
    hde7            hdm2            hdt7            sdb4            vcs
    hde8            hdm3            hdt8            sdb5            vcs0
    hde9            hdm4            hdt9            sdb6            vcs1
    hdf             hdm5            ida             sdb7            vcs2
    hdf1            hdm6            inet            sdb8            vcs3
    hdf2            hdm7            initctl         sdb9            vcs4
    hdf3            hdm8            kcore           sdc             vcsa
    hdf4            hdm9            kmem            sdc1            vcsa0
    hdf5            hdn             kpd             sdc10           vcsa1
    hdf6            hdn1            lcd             sdc11           vcsa2
    hdf7            hdn2            lcd_cobalt      sdc12           vcsa3
    hdf8            hdn3            lcd_pyramid     sdc13           vcsa4
    hdf9            hdn4            led             sdc14           watchdog
    hdg             hdn5            log             sdc15           zero
    hdg1            hdn6            loop0           sdc2
    hdg2            hdn7            loop1           sdc3
    hdg3            hdn8            loop2           sdc4
    hdg4            hdn9            loop3           sdc5
    agamenon:/dev # vi console
    agamenon:/dev # wc -l console

    agamenon:/dev # netstat -rn
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
    10.1.1.0 0.0.0.0 255.255.255.240 U 40 0 0 eth0 xxx.xx.xxx.0    0.0.0.0         255.255.254.0   U        40 0          0 eth1
    yyy.yy.yyy.yy    yy.yy.yy.yy    255.255.254.0   U        40 0          0 ipsec0
    127.0.0.0       0.0.0.0         255.0.0.0       U        40 0          0 lo
    0.0.0.0         zzz.zz.zz.zzz  0.0.0.0         UG       40 0          0 eth1
    0.0.0.0         0.0.0.0         0.0.0.0         U        40 0          0 eth1
    agamenon:/dev #

    By the way he can't inject RIP inside the Tunnel unless you got a daemon listening to it ( commmon mistake we ciscoman make).
Reply
  • Well let's assume that your fellow cisco owner has a route towards your LAN ( is he using a Cisco 3005 VPN Concentrator or the 3002 Hardware client?) when you do a netstat -rn on the firewall do you have a route to remote networks to ipsec interface?
    itfdesc.conf         radius_dict
    itfhw.conf           rc.d
    agamenon:/etc # cd anpipe
    bash: cd: anpipe: No such file or directory
    agamenon:/etc # cd wanpipe
    agamenon:/etc/wanpipe # ls
    firmware       samples        wanpipe1.conf  wanrouter.rc
    agamenon:/etc/wanpipe # tail wanpipe1.conf
    IGNORE_DCD              = NO
    IGNORE_CTS              = NO
    IGNORE_KEEPALIVE        = NO
    HDLC_STREAMING          = NO
    KEEPALIVE_TX_TIMER      = 10000
    KEEPALIVE_RX_TIMER      = 10000
    KEEPALIVE_ERR_MARGIN    = 5
    SLARP_TIMER             = 0
    TRUE_ENCODING_TYPE      = NO
    DYN_INTR_CFG            = YES
    agamenon:/etc/wanpipe # netstat -rn
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
    10.1.1.0        0.0.0.0         255.255.255.240 U        40 0          0 eth0
    213.22.172.0    0.0.0.0         255.255.254.0   U        40 0          0 eth1
    213.22.172.0    0.0.0.0         255.255.254.0   U        40 0          0 ipsec0
    127.0.0.0       0.0.0.0         255.0.0.0       U        40 0          0 lo
    0.0.0.0         213.22.173.254  0.0.0.0         UG       40 0          0 eth1
    0.0.0.0         0.0.0.0         0.0.0.0         U        40 0          0 eth1
    agamenon:/etc/wanpipe # cd /dev
    agamenon:/dev # ls con*
    console
    agamenon:/dev # ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:40:F4:65[[[:D]]]8:8A
              inet addr:10.1.1.1  Bcast:10.1.1.15  Mask:255.255.255.240
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:130446 errors:0 dropped:0 overruns:0 frame:0
              TX packets:162215 errors:0 dropped:0 overruns:0 carrier:0
              collisions:21947 txqueuelen:100
              Interrupt:12 Base address:0x2000

    eth1      Link encap:Ethernet  HWaddr 00:40:F4:70:22:33
              inet addr:213.22.172.209  Bcast:213.22.173.255  Mask:255.255.254.0
              UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:158847 errors:0 dropped:0 overruns:0 frame:0
              TX packets:163253 errors:0 dropped:0 overruns:0 carrier:0
              collisions:223 txqueuelen:100
              Interrupt:10 Base address:0x4000

    ipsec0    Link encap:Ethernet  HWaddr 00:40:F4:70:22:33
              inet addr:213.22.172.209  Mask:255.255.254.0
              UP RUNNING NOARP  MTU:16260  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:10

    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:8326 errors:0 dropped:0 overruns:0 frame:0
              TX packets:8326 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0

    agamenon:/dev # ifconfig -a
    eth0      Link encap:Ethernet  HWaddr 00:40:F4:65[[[:D]]]8:8A
              inet addr:10.1.1.1  Bcast:10.1.1.15  Mask:255.255.255.240
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:130465 errors:0 dropped:0 overruns:0 frame:0
              TX packets:162234 errors:0 dropped:0 overruns:0 carrier:0
              collisions:21947 txqueuelen:100
              Interrupt:12 Base address:0x2000

    eth1      Link encap:Ethernet  HWaddr 00:40:F4:70:22:33
              inet addr:213.22.172.209  Bcast:213.22.173.255  Mask:255.255.254.0
              UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:158857 errors:0 dropped:0 overruns:0 frame:0
              TX packets:163262 errors:0 dropped:0 overruns:0 carrier:0
              collisions:223 txqueuelen:100
              Interrupt:10 Base address:0x4000

    ipsec0    Link encap:Ethernet  HWaddr 00:40:F4:70:22:33
              inet addr:213.22.172.209  Mask:255.255.254.0
              UP RUNNING NOARP  MTU:16260  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:10

    ipsec1    Link encap:IPIP Tunnel  HWaddr
              NOARP  MTU:0  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:10

    ipsec2    Link encap:IPIP Tunnel  HWaddr
              NOARP  MTU:0  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:10

    ipsec3    Link encap:IPIP Tunnel  HWaddr
              NOARP  MTU:0  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:10

    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:8326 errors:0 dropped:0 overruns:0 frame:0
              TX packets:8326 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0

    agamenon:/dev #
    agamenon:/dev #
    agamenon:/dev #
    agamenon:/dev #
    agamenon:/dev # tail console

    agamenon:/dev # cd /etc
    agamenon:/etc # tail passwd
    bin:x:1:1:bin:/bin:/bin/bash
    daemon:x:2:2[[:D]]aemon:/sbin:/bin/bash
    uucp:x:10:14::/var/lib/uucp/taylor_config:/bin/bash
    wwwrun:x:30:65534[[[:D]]]aemon user for apache:/tmp:/bin/bash
    squid:x:666:666:WWW proxy squid:/var/squid:/bin/bash
    firewall:x:41:31:firewall account:/tmp:/bin/false
    nobody:x:65534:65534:nobody:/tmp:/bin/bash
    system:x:1968:1968::/tmp:/bin/false
    loginuser:x:100:100:login user:/home/login:/bin/bash
    sshd:x:103:103:sshd privsep:/var/empty:/bin/false
    agamenon:/etc # console
    bash: console: command not found
    agamenon:/etc # ifconfig console up
    console: unknown interface: No such device
    agamenon:/etc # cd dev
    bash: cd: dev: No such file or directory
    agamenon:/etc # cd /dev
    agamenon:/dev # ls
    :0              hdg5            hdo             loop4           sdc6
    :1              hdg6            hdo1            loop5           sdc7
    :2              hdg7            hdo2            loop6           sdc8
    :3              hdg8            hdo3            loop7           sdc9
    :4              hdg9            hdo4            netfilter_ipv4  sdd
    :5              hdh             hdo5            null            sdd1
    boot255         hdh1            hdo6            ptmx            sdd10
    console         hdh2            hdo7            pts             sdd11
    fd              hdh3            hdo8            ram             sdd12
    fd0             hdh4            hdo9            ram0            sdd13
    hda             hdh5            hdp             ramdisk         sdd14
    hda1            hdh6            hdp1            random          sdd15
    hda2            hdh7            hdp2            route           sdd2
    hda3            hdh8            hdp3            rtc             sdd3
    hda4            hdh9            hdp4            scd0            sdd4
    hda5            hdi             hdp5            scd1            sdd5
    hda6            hdi1            hdp6            scd10           sdd6
    hda7            hdi2            hdp7            scd11           sdd7
    hda8            hdi3            hdp8            scd12           sdd8
    hda9            hdi4            hdp9            scd13           sdd9
    hdb             hdi5            hdq             scd14           sr0
    hdb1            hdi6            hdq1            scd15           sr1
    hdb2            hdi7            hdq2            scd16           sr10
    hdb3            hdi8            hdq3            scd2            sr11
    hdb4            hdi9            hdq4            scd3            sr12
    hdb5            hdj             hdq5            scd4            sr13
    hdb6            hdj1            hdq6            scd5            sr14
    hdb7            hdj2            hdq7            scd6            sr15
    hdb8            hdj3            hdq8            scd7            sr16
    hdb9            hdj4            hdq9            scd8            sr2
    hdc             hdj5            hdr             scd9            sr3
    hdc1            hdj6            hdr1            sda             sr4
    hdc2            hdj7            hdr2            sda1            sr5
    hdc3            hdj8            hdr3            sda10           sr6
    hdc4            hdj9            hdr4            sda11           sr7
    hdc5            hdk             hdr5            sda12           sr8
    hdc6            hdk1            hdr6            sda13           sr9
    hdc7            hdk2            hdr7            sda14           stderr
    hdc8            hdk3            hdr8            sda15           stdin
    hdc9            hdk4            hdr9            sda2            stdout
    hdd             hdk5            hds             sda3            tty
    hdd1            hdk6            hds1            sda4            tty0
    hdd2            hdk7            hds2            sda5            tty1
    hdd3            hdk8            hds3            sda6            tty10
    hdd4            hdk9            hds4            sda7            tty11
    hdd5            hdl             hds5            sda8            tty12
    hdd6            hdl1            hds6            sda9            tty2
    hdd7            hdl2            hds7            sdb             tty3
    hdd8            hdl3            hds8            sdb1            tty4
    hdd9            hdl4            hds9            sdb10           tty5
    hde             hdl5            hdt             sdb11           tty6
    hde1            hdl6            hdt1            sdb12           tty7
    hde2            hdl7            hdt2            sdb13           tty8
    hde3            hdl8            hdt3            sdb14           tty9
    hde4            hdl9            hdt4            sdb15           ttyS0
    hde5            hdm             hdt5            sdb2            ttyS1
    hde6            hdm1            hdt6            sdb3            urandom
    hde7            hdm2            hdt7            sdb4            vcs
    hde8            hdm3            hdt8            sdb5            vcs0
    hde9            hdm4            hdt9            sdb6            vcs1
    hdf             hdm5            ida             sdb7            vcs2
    hdf1            hdm6            inet            sdb8            vcs3
    hdf2            hdm7            initctl         sdb9            vcs4
    hdf3            hdm8            kcore           sdc             vcsa
    hdf4            hdm9            kmem            sdc1            vcsa0
    hdf5            hdn             kpd             sdc10           vcsa1
    hdf6            hdn1            lcd             sdc11           vcsa2
    hdf7            hdn2            lcd_cobalt      sdc12           vcsa3
    hdf8            hdn3            lcd_pyramid     sdc13           vcsa4
    hdf9            hdn4            led             sdc14           watchdog
    hdg             hdn5            log             sdc15           zero
    hdg1            hdn6            loop0           sdc2
    hdg2            hdn7            loop1           sdc3
    hdg3            hdn8            loop2           sdc4
    hdg4            hdn9            loop3           sdc5
    agamenon:/dev # vi console
    agamenon:/dev # wc -l console

    agamenon:/dev # netstat -rn
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
    10.1.1.0 0.0.0.0 255.255.255.240 U 40 0 0 eth0 xxx.xx.xxx.0    0.0.0.0         255.255.254.0   U        40 0          0 eth1
    yyy.yy.yyy.yy    yy.yy.yy.yy    255.255.254.0   U        40 0          0 ipsec0
    127.0.0.0       0.0.0.0         255.0.0.0       U        40 0          0 lo
    0.0.0.0         zzz.zz.zz.zzz  0.0.0.0         UG       40 0          0 eth1
    0.0.0.0         0.0.0.0         0.0.0.0         U        40 0          0 eth1
    agamenon:/dev #

    By the way he can't inject RIP inside the Tunnel unless you got a daemon listening to it ( commmon mistake we ciscoman make).
Children
  • sorry for the garbage some mistake between putty and the windows clipboard! No portscan's please   [;)]
  • > Well let's assume that your fellow cisco owner has a route towards your LAN ( is he using a Cisco 3005 VPN Concentrator or the 3002 Hardware client?) when you do a netstat -rn on the firewall do you have a route to remote networks to ipsec interface?

    I can´t say much about Cisco stuff from the other side. 

    Regarding the route to remote network:
    1) The tunnel is estabablished from my ASL external LAN board and the external LAN board from the remote site. This is the only way the tunnel is established. In this configuration, the kernel routing table shows only a route to this external IP address from the other side. Even if I manually insert a new route to the remote LAN, when I traceroute the remote LAN, it goes out of IPSEC tunnel, and this new route does not appear in the kernel routing table.

    > By the way he can't inject RIP inside the Tunnel unless you got a daemon listening to it ( commmon mistake we ciscoman make).

    I do not use RIP. I manually inserted a route in the host in my intranet that needs to access the remote side. I am sure the packets go through ASL, but don´t get inside the tunnel.

    Thanks
  • I got some information about the "other" side:
    They are running their tunnels with CISCO 3620 (IOS 12.2).

    Any known compatibility problem? 
    Any ideas?