feyd
01-09-2004, 10:15
brevemente:
OS: Fedora Core 2 - Kernel 2.6.x
VPN cisco dove:
- modulo kernel driver cisco non va su kernel 2.6.x
- esiste un driver userspace (per chi non lo conosce) vpnd che pare andare (mi autentica sulla vpn)
ifconfig -a riporta il seguente output
----------------------------------------------------------------
cipsec0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MULTICAST MTU:1400 Metric:1
RX packets:142 errors:0 dropped:0 overruns:0 frame:0
TX packets:72 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
eth0 Link encap:Ethernet HWaddr 00:0D:56:3B:46:A8
inet addr:192.168.223.50 Bcast:192.168.223.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1412 Metric:1
RX packets:5146 errors:0 dropped:0 overruns:0 frame:0
TX packets:2157 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:889649 (868.7 Kb) TX bytes:229505 (224.1 Kb)
Interrupt:11
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:5482 errors:0 dropped:0 overruns:0 frame:0
TX packets:5482 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.128.3.3 P-t-P:10.128.3.3 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1412 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
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
-------------------------------------------------------------------------
prima di avviare vpnd la mia tabellla di routing è la seguente
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.223.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.168.223.254 0.0.0.0 UG 0 0 0 eth0
dopo viene modificata come segue
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
80.17.46.250 192.168.223.254 255.255.255.255 UGH 0 0 0 eth0
192.168.223.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default * 0.0.0.0 U 0 0 0 tun0
il gateway vpn è ovviamente 87.17.46.250 e a me piacerebbe raggiungere la rete 156.54.24.x
Da notare che dopo aver attivato vpnd non solo non raggiungo la rete desiderata ma nemmeno vado in internet a causa dell'ultima riga.
Aiutino????
:muro:
Feyd
OS: Fedora Core 2 - Kernel 2.6.x
VPN cisco dove:
- modulo kernel driver cisco non va su kernel 2.6.x
- esiste un driver userspace (per chi non lo conosce) vpnd che pare andare (mi autentica sulla vpn)
ifconfig -a riporta il seguente output
----------------------------------------------------------------
cipsec0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MULTICAST MTU:1400 Metric:1
RX packets:142 errors:0 dropped:0 overruns:0 frame:0
TX packets:72 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
eth0 Link encap:Ethernet HWaddr 00:0D:56:3B:46:A8
inet addr:192.168.223.50 Bcast:192.168.223.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1412 Metric:1
RX packets:5146 errors:0 dropped:0 overruns:0 frame:0
TX packets:2157 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:889649 (868.7 Kb) TX bytes:229505 (224.1 Kb)
Interrupt:11
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:5482 errors:0 dropped:0 overruns:0 frame:0
TX packets:5482 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.128.3.3 P-t-P:10.128.3.3 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1412 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
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
-------------------------------------------------------------------------
prima di avviare vpnd la mia tabellla di routing è la seguente
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.223.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.168.223.254 0.0.0.0 UG 0 0 0 eth0
dopo viene modificata come segue
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
80.17.46.250 192.168.223.254 255.255.255.255 UGH 0 0 0 eth0
192.168.223.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default * 0.0.0.0 U 0 0 0 tun0
il gateway vpn è ovviamente 87.17.46.250 e a me piacerebbe raggiungere la rete 156.54.24.x
Da notare che dopo aver attivato vpnd non solo non raggiungo la rete desiderata ma nemmeno vado in internet a causa dell'ultima riga.
Aiutino????
:muro:
Feyd