Results 1 to 1 of 1
hi there:
there is some problem about my openvpn server.
env:
one openvpn server [ vpn_ip: 1.1.1.1 ]
one openvpn client[windows] [ vpn_ip: 1.1.1.6 ]
one openvpn client[linux] [ vpn_ip: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-13-2009 #1Linux Newbie
- Join Date
- Feb 2009
- Posts
- 101
problem about openvpn
hi there:
there is some problem about my openvpn server.
env:
one openvpn server [ vpn_ip: 1.1.1.1 ]
one openvpn client[windows] [ vpn_ip: 1.1.1.6 ]
one openvpn client[linux] [ vpn_ip: 1.1.1.10 ]
both client can access my openvpn server.
but client get wrong route. so windows client can not access linux client.
both client just can access openvpn server. <- I want to know how can I let client access each other.
I don't want to config route table by hand.
example:
linux server route:
[root@node1 keys]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
1.1.1.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
1.1.1.0 1.1.1.2 255.255.255.0 UG 0 0 0 tun0
### in fact my open vpn server ip is 1.1.1.1
linux client route
[root@node2 ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
1.1.1.9 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
1.1.1.0 1.1.1.9 255.255.255.0 UG 0 0 0 tun0
### I have no idea why it gets 1.1.1.9 gateway.
windows client route
1.1.1.4 255.255.255.252 1.1.1.6 1.1.1.6 30
1.1.1.6 255.255.255.255 127.0.0.1 127.0.0.1 30
thereis my server configura file:
my client configuration file:Code:port 1194 proto tcp dev tun ca ca.crt cert node1.crt key node1.key dh dh1024.pem server 1.1.1.0 255.255.255.0 ifconfig-pool-persist ipp.txt ## it's empty file by default keepalive 10 120 comp-lzo persist-key persist-tun status openvpn-status.log verb 3
Code:client dev tun proto tcp remote myserver_address 1194 resolv-retry infinite nobind persist-key persist-tun ca /etc/openvpn/ca.crt cert /etc/openvpn/client2.crt key /etc/openvpn/client2.key ns-cert-type server comp-lzo verb 3
please give me advance. thank you.


Reply With Quote
