Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Routing avanzato] Problema con VPN via PPTP
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
Dun
Apprentice
Apprentice


Joined: 17 Apr 2004
Posts: 172
Location: Amsterdam (NL) / Venice (IT)

PostPosted: Tue Feb 21, 2006 2:35 pm    Post subject: [Routing avanzato] Problema con VPN via PPTP Reply with quote

Ho uno strano problema con la vpn della universita dove sono (Liacs Leiden).

Per prima cosa vi espongo la topologia.


Code:


PC1: 132.229.16.103 (ip locale; gateway 132.229.16.1) ------------------------------- SERVER: 132.229.16.20 (ip locale)




La connessione vpn usa come server 132.229.16.20. Il server quindi assegna al client un altro ip (notare come il server anche all'interno della VPN continui ad avere IP 132.229.16.20).

La situazione quindi diventa questa:

Code:


PC1: 132.229.16.103 | 132.229.16.203 (ip locale | ip vpn) ------------------------------ SERVER: 132.229.16.20 (ip locale e vpn)



La situazione diventa come vedete critica ovvero:

Per raggiungere il server 132.229.16.20 via vpn devo usare come default gw il device ppp0 che ha ip 132.229.16.203 mentre allo stesso tempo per tenere su la vpn i pacchetti crittografati devono arrivare al server 132.229.16.20 tramite l interfaccia eth0 che ha ip 132.229.16.103.

Insomma la questione credo che possa risolversi determinando due route diverse in base all'ip di provenienza...cosa che ovviamente non funziona dato il limite ad un solo default gateway :(

Help please :(
Back to top
View user's profile Send private message
makoomba
Bodhisattva
Bodhisattva


Joined: 03 Jun 2004
Posts: 1856

PostPosted: Tue Feb 21, 2006 2:42 pm    Post subject: Reply with quote

posta
Code:
route -n
ifconfig -a

_________________
When all else fails, read the instructions.
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Tue Feb 21, 2006 4:53 pm    Post subject: Reply with quote

makoomba wrote:
posta
Code:
route -n
ifconfig -a


io la vedo dura come routing... magari dacci le maschere degli ip.
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
spugna
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2004
Posts: 97

PostPosted: Wed Feb 22, 2006 9:59 am    Post subject: Re: [Routing avanzato] Problema con VPN via PPTP Reply with quote

Dun wrote:
Ho uno strano problema con la vpn della universita dove sono (Liacs Leiden).

Per prima cosa vi espongo la topologia.

Code:

PC1: 132.229.16.103 (ip locale; gateway 132.229.16.1) ------------------------------- SERVER: 132.229.16.20 (ip locale)




Ehm... secondo me devi cambiare ip locale alla tua macchina ...
_________________
Don't think, drink your wine, watch the fire burn... his problems not mine...
Just be that model citizen.
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