Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] Dubbi e domande sulla VPN
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
GuN_jAcK
l33t
l33t


Joined: 23 Mar 2005
Posts: 832
Location: Prague, Czech Republic

PostPosted: Tue Apr 18, 2006 4:52 pm    Post subject: [RISOLTO] Dubbi e domande sulla VPN Reply with quote

Ciao a tutti ragazzi,
Oggi mi sono fatto la VPN di McLink per avero un ip pubblico da usare con Fastweb in modo tale da poter ricevere connessioni in entrata.
Mi sono installato vpnc (il client della cisco come mi hanno detto quelli della McLink) e poi ho aggiunto una piccola interfaccia comoda che si chiama Kvpnc. Con essa riesco a connettermi alla VPN infatti se faccio un ifconfig mi restituisce:
Code:

eth1      Link encap:Ethernet  HWaddr 00:C0:26:F4:4C:69
          inet addr:23.255.161.35  Bcast:255.255.255.255  Mask:255.255.248.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:886 errors:0 dropped:0 overruns:0 frame:0
          TX packets:783 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:997064 (973.6 Kb)  TX bytes:96962 (94.6 Kb)
          Interrupt:17 Base address:0xa800

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:29 errors:0 dropped:0 overruns:0 frame:0
          TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1619 (1.5 Kb)  TX bytes:1619 (1.5 Kb)

tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:84.253.133.210  P-t-P:84.253.133.210  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:500
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

Quindi deduco che io sia connesso! Ma quando vado a pingare il mio ip pubblico da una qualsiasi macchina non dà segni di vita.. il ping và in timeout.

La domanda che mi sorge è: non è che devo far capire alla mia cara gentoo che deve usare "tun0" come connessione? centra qualcosa con il route?

grazie :D
_________________
Rispondi in maniera intelligente anche a chi ti tratta stupidamente.


Last edited by GuN_jAcK on Wed Apr 19, 2006 10:46 am; edited 1 time in total
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Tue Apr 18, 2006 8:27 pm    Post subject: Re: Dubbi e domande sulla VPN Reply with quote

GuN_jAcK wrote:
Ciao a tutti ragazzi,
Oggi mi sono fatto la VPN di McLink per avero un ip pubblico da usare con Fastweb in modo tale da poter ricevere connessioni in entrata.
Mi sono installato vpnc (il client della cisco come mi hanno detto quelli della McLink) e poi ho aggiunto una piccola interfaccia comoda che si chiama Kvpnc. Con essa riesco a connettermi alla VPN infatti se faccio un ifconfig mi restituisce:
Code:

tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:84.253.133.210  P-t-P:84.253.133.210  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:500
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

Quindi deduco che io sia connesso! Ma quando vado a pingare il mio ip pubblico da una qualsiasi macchina non dà segni di vita.. il ping và in timeout.

La domanda che mi sorge è: non è che devo far capire alla mia cara gentoo che deve usare "tun0" come connessione? centra qualcosa con il route?

grazie :D


non ho capito molto di quello che tu voglia fare... provo a ricapitolare. Tu sei dentro fastweb, quelli di mclink ti danno un ip pubblico, ma per poterlo usare devi fare una vpn.

Inizia a fare questa prova: pingare gli ip dell'altro endpoint della vpn. Poi prova a postare le route ed eventualmente aggiungi una route che obbliga a passare nella vpn (ricordati di mettere una route per rendere raggiungibile il server di vpn dalla scheda eth0).

ciao
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
GuN_jAcK
l33t
l33t


Joined: 23 Mar 2005
Posts: 832
Location: Prague, Czech Republic

PostPosted: Tue Apr 18, 2006 9:15 pm    Post subject: Reply with quote

dunque, hai detto bene, io ho Fastweb che non ha un proprio ip pubblico, quindi non posso ad esempio aprire una partita su Internet, o ricevere files ecc.... Grazie ad McLink, attraverso questa VPN, sono in grado di ottenere un ip pubblico e riceve connessioni in entrata. Quanto tu mi hai detto credo che sia esatto, dovrei instradare il traffico... la mia domanda è però come si fa? :P

Code:
# # route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
195.110.136.69  23.255.160.1    255.255.255.255 UGH   0      0        0 eth1
23.255.160.0    0.0.0.0         255.255.248.0   U     0      0        0 eth1
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         23.255.160.1    0.0.0.0         UG    0      0        0 eth1


e questo è l'ifconfig;

Code:

# ifconfig
eth1      Link encap:Ethernet  HWaddr 00:C0:26:F4:4C:69
          inet addr:23.255.161.35  Bcast:255.255.255.255  Mask:255.255.248.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15725 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15950 errors:0 dropped:0 overruns:0 carrier:0
          collisions:144 txqueuelen:1000
          RX bytes:16216948 (15.4 Mb)  TX bytes:2382194 (2.2 Mb)
          Interrupt:17 Base address:0xa800

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:175 errors:0 dropped:0 overruns:0 frame:0
          TX packets:175 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:28870 (28.1 Kb)  TX bytes:28870 (28.1 Kb)

tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:84.253.133.210  P-t-P:84.253.133.210  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:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:0 (0.0 b)  TX bytes:1008 (1008.0 b)


Per quanto riguarda l'ip che mi è stato assegnato pinga.
_________________
Rispondi in maniera intelligente anche a chi ti tratta stupidamente.
Back to top
View user's profile Send private message
makoomba
Bodhisattva
Bodhisattva


Joined: 03 Jun 2004
Posts: 1856

PostPosted: Wed Apr 19, 2006 8:24 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-404133-highlight-fastweb+vpn.html
_________________
When all else fails, read the instructions.
Back to top
View user's profile Send private message
GuN_jAcK
l33t
l33t


Joined: 23 Mar 2005
Posts: 832
Location: Prague, Czech Republic

PostPosted: Wed Apr 19, 2006 10:45 am    Post subject: Reply with quote

ho risolto, ho scaricato il client ufficiale da Cisco e mi ha configurato tutto lui :P
_________________
Rispondi in maniera intelligente anche a chi ti tratta stupidamente.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum