Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OpenVPN e Shorewall
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) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
Pancu
l33t
l33t


Joined: 16 Feb 2005
Posts: 612
Location: Cesena

PostPosted: Wed Oct 10, 2007 3:07 pm    Post subject: OpenVPN e Shorewall Reply with quote

Salve a tutti.
Voglio poter collegarmi alla mia rete casalinga attraverso VPN dal mio ufficio.
Ho seguito questa procedura:http://pettinix.blogspot.com/2007/07/openvpn-server-su-gentoo-e-client.html
Al momento il client(ufficio) riesce a connettersi al server OpenVPN(casa) e acquisire un indirizzo Ip.
Avrei un piccolo problema, nella configurazione di Shorewall con la mia nuova VPN.
Questa la configurazione del server:
Code:
# non default port to prevent worm attacks!
port 11194
proto udp
dev tun
ca privnet/ca.crt
cert privnet/server.crt
key privnet/server.key
dh privnet/dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
comp-lzo
user nobody
group nobody
persist-key
persist-tun
status openvpn-status.log
verb 3

Questa la configurazione del client Windows Vista: :oops:
Code:
client
dev tun
proto udp

remote *** 11194
resolv-retry infinite
nobind

persist-key
persist-tun

ca ca.crt
cert client.crt
key client.key

comp-lzo
verb 3

Route:
Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.8.0.2        *               255.255.255.255 UH    0      0        0 tun0
10.8.0.0        10.8.0.2        255.255.255.0   UG    0      0        0 tun0
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
192.168.0.0     *               255.255.255.0   U     0      0        0 eth1
loopback        *               255.0.0.0       U     0      0        0 lo
default         mygateway1.ar7  0.0.0.0         UG    0      0        0 eth0


Ora, qualcuno può aiutarmi a configurare shorewall per far si che client e server si vedano??

Grazie.


Last edited by Pancu on Thu Oct 11, 2007 12:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
makoomba
Bodhisattva
Bodhisattva


Joined: 03 Jun 2004
Posts: 1856

PostPosted: Wed Oct 10, 2007 3:53 pm    Post subject: Reply with quote

Moved from Forum italiano (Italian) to Forum di discussione italiano.
_________________
When all else fails, read the instructions.
Back to top
View user's profile Send private message
Pancu
l33t
l33t


Joined: 16 Feb 2005
Posts: 612
Location: Cesena

PostPosted: Thu Oct 11, 2007 12:24 pm    Post subject: Reply with quote

Nessuno riesce a darmi una mano? :?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano 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