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

Re: [Openvpn-users] Connecting 2 private networks (problem)


  • Subject: Re: [Openvpn-users] Connecting 2 private networks (problem)
  • From: Doug Lytle <support@xxxxxxxxxx>
  • Date: Fri, 14 May 2004 09:04:28 -0400

Frank,

Your config should be as follows:

remote   194.95.226.***
proto      upd
port        5000
dev         tun

ifconfig 192.168.28.26 192.168.56.xxx (You need to specify the IPs of the private interfaces on both ends)
route 192.168.56.xxx 255.255.255.0 # (Normally I would put the routes in a route.up file)


user nobody
group nobody (nogroup on Mandrake)

comp-lzo
ping 10
verb 5

My server config is as follows:

Local network interface is 192.168.104.14 and remote is 192.168.113.14

dev tun
ifconfig 192.168.104.14 192.168.113.14
remote 12.148.xxx.xxx
up ./office.up
secret keys/static.key
port 5000
user nobody
group nogroup
comp-lzo
ping 10
verb 5
mute 10




Frank Elsner wrote:

On Fri, 14 May 2004 07:51:07 EDT Doug Lytle wrote:


Frank,

Show us the conf files for both ends.



Currently I've only acess to mine, the other looks the same but with other adresses of course.


# /usr/local/OpenVPN/etc/eyuphuro.cf
# ---------------------------------- VPN with eyuphuro

# daemon	eyuphuro
local		192.168.28.26
remote 		194.95.226.***
proto		udp
port		5000
dev		tun0
ifconfig	10.192.168.28 10.192.168.56
route		192.168.56.0 255.255.255.0
disable-occ
ping 		15
verb		4
persist-tun
persist-local-ip
persist-remote-ip
comp-lzo


Both systems involved RH 7.3, Kernels 2.4.26/2.4.22, OpenVPN-1.5.0


--Frank Elsner








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