[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] Basic Setup and Local ips?


  • Subject: [Openvpn-users] Basic Setup and Local ips?
  • From: "bronson mathews" <gibbz1@xxxxxxxxxxx>
  • Date: Sat, 04 Dec 2004 19:21:44 +1030

ok im working on setting up a server/clients situation. i can ping all the vpn ip's but should i be able to ping the local network adapter ip's also?

local ip ranges are 192.168.1.xx and say 192.168.0.xx

i think i may be doing somehting wrong in the push sections there? will i also need to add a route command to the server so that network can be pinged?


Serverfile ---------------------------------- #local ip local 192.168.1.11 port 5000

dev tap
no-replay

tls-server
ca sample-keys/tmp-ca.crt
cert sample-keys/server.crt
key sample-keys/server.key
dh sample-keys/dh1024.pem
mode server

ifconfig 10.3.0.1 255.255.255.0
ifconfig-pool 10.3.0.10 10.3.0.20

client-to-client
duplicate-cn

#push to clients
push "route 10.3.0.1 255.255.255.0"
push "route 192.168.0.0 255.255.255.0 10.3.0.1"
push "ping 10"
push "ping-restart 120"

#local keep alive
ping 10
ping-restart 120
verb 4









Client file
---------------------------------------
remote ipaddress
port 5000
dev tap
no-replay
nobind
tls-client
ca sample-keys/tmp-ca.crt
cert sample-keys/client.crt
key sample-keys/client.key
dh sample-keys/dh1024.pem
pull
verb 4



____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users