|
|
|
Hi, I install openvpn version 2 on debian as a routed mode. Now I have a problem. My structure is : Openvpn Server------------>Firewall-------------> Internet----------------->My Client server configuration: port 1194 proto udp dev tap tls-server mode server ca /etc/openvpn/examples/easy-rsa/keys/ca.crt cert /etc/openvpn/examples/easy-rsa/keys/MyserverKey.crt key /etc/openvpn/examples/easy-rsa/keys/MyserverKey.key # This file should be kept secret dh /etc/openvpn/examples/easy-rsa/keys/dh2048.pem ifconfig 10.10.10.1 255.255.255.0 ifconfig-pool 10.10.10.5 10.10.10.10 push "route 60.x.x.x 255.255.255.0" push "redirect-gateway" client-to-client duplicate-cn keepalive 10 120 cipher AES-128-CBC # AES comp-lzo max-clients 5 user nobody group nogroup persist-key persist-tun status openvpn-status.log log /var/log/openvpn.log verb 3 Client configuration:
proto udp remote MyServer.com 1194 client dev tap persist-key persist-tun ca keys/ca.crt cert keys/raoufnezhad.crt key keys/raoufnezhad.key keepalive 10 120 cipher AES-128-CBC user nobody group nobody comp-lzo verb 3 pull auth-user-pass ifconfig: eth0 Link encap:Ethernet HWaddr 00:69:00:0C:5D:17 inet addr: 60.x.x.5 Bcast:60.x.x.255 Mask:255.255.255.0 inet6 addr: fe80::269:ff:fe0c:5d17/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:42933 errors:0 dropped:0 overruns:0 frame:0 TX packets:2986 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2882204 (2.7 MiB) TX bytes:400325 ( 390.9 KiB) Interrupt:177 Base address:0xdc00 tap0 Link encap:Ethernet HWaddr 2A:A6:51:0E:8B:3A inet addr: 10.10.10.1 Bcast:10.10.10.255 Mask:255.255.255.0 inet6 addr: fe80::28a6:51ff:fe0e:8b3a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:103 errors:0 dropped:0 overruns:0 frame:0 TX packets:48 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:14888 (14.5 KiB) TX bytes:4603 ( 4.4 KiB) route -n :
and ip_forward is enable. My clients can connect to vpn server and ping 10.10.10.1 and each other, but they can ping 60.x.x.5? Would you please help me? thanks. |