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

[Openvpn-users] Wrong network port


  • Subject: [Openvpn-users] Wrong network port
  • From: "Erestor Elensar" <erestor.elensar@xxxxxxxxx>
  • Date: Wed, 5 Jul 2006 15:16:42 +0200 (CEST)
  • Importance: Normal

Hi,

I have create a site to site, the routing between the two sites is into
the up-scripts.

conf
dev tun0
port 1094
comp-lzo
comp-noadapt
cipher AES-128-CBC
secret /etc/openvpn/secret/key.txt
ifconfig 10.32.101.1 10.32.101.2
remote 10.32.100.2
up /etc/openvpn/route-scripts/up.sh

up-script
add -net 10.32.16.0 netmask 255.255.255.0 gateway 10.32.101.1 dev tun0


I can ping all the machine from siteA (10.32.0.0/22) to siteB
(10.32.16.0/24 )without any problems, but when i ping from a openvpn to a
machine at the other site it end there with the ip address from the tunnel
(10.32.101.2)!!!

How can i solve this ?


TIA


______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users