No ping between openvpn clients
Posted: Sat Apr 23, 2011 6:41 pm
Hello to all. I have next server configuration.
cat server-main.conf
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/server.crt
key /etc/openvpn/keys/server.key
dh /etc/openvpn/keys/dh1024.pem
client-config-dir ccd
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
log openvpn-log.log
log-append openvpn-append.log
verb 3
/etc/openvpn# cat server-tap1.conf
management 127.0.0.2 7505
port 5190
proto tcp
dev tap1
server 192.168.11.0 255.255.255.128
ifconfig-pool-persist ipp1.txt
push "route 192.168.11.0 255.255.255.128"
push "route 192.168.10.0 255.255.255.128"
push "route 192.168.3.0 255.255.255.128"
#push "route 192.168.2.0 255.255.255.128"
push "route 192.168.1.0 255.255.255.128"
push "redirect-gateway"
cipher AES-128-CBC # AES
config server-main.conf
etc/openvpn# cat server-tap0.conf
management localhost 7505
port 443
proto tcp
dev tap0
server 192.168.10.0 255.255.255.0
ifconfig-pool-persist ipp0.txt
push "route 192.168.10.0 255.255.255.0"
push "dhcp-option DNS 192.168.1.1"
push "dhcp-option WINS 192.168.1.1"
config server-main.conf
For example, client A and client B have ip 192.168.10.6 and 192.168.10.7, and client C and client D have ip 192.168.11.6 and 192.168.11.7. I can ping from B clients C and D, from A - C and D too. But I can not ping A from B and B from A. Why? And what I cat to do than A ping B and inversely?
openvpn --version
OpenVPN 2.1.3 x86_64-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Oct 22 2010
Thanks.
cat server-main.conf
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/server.crt
key /etc/openvpn/keys/server.key
dh /etc/openvpn/keys/dh1024.pem
client-config-dir ccd
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
log openvpn-log.log
log-append openvpn-append.log
verb 3
/etc/openvpn# cat server-tap1.conf
management 127.0.0.2 7505
port 5190
proto tcp
dev tap1
server 192.168.11.0 255.255.255.128
ifconfig-pool-persist ipp1.txt
push "route 192.168.11.0 255.255.255.128"
push "route 192.168.10.0 255.255.255.128"
push "route 192.168.3.0 255.255.255.128"
#push "route 192.168.2.0 255.255.255.128"
push "route 192.168.1.0 255.255.255.128"
push "redirect-gateway"
cipher AES-128-CBC # AES
config server-main.conf
etc/openvpn# cat server-tap0.conf
management localhost 7505
port 443
proto tcp
dev tap0
server 192.168.10.0 255.255.255.0
ifconfig-pool-persist ipp0.txt
push "route 192.168.10.0 255.255.255.0"
push "dhcp-option DNS 192.168.1.1"
push "dhcp-option WINS 192.168.1.1"
config server-main.conf
For example, client A and client B have ip 192.168.10.6 and 192.168.10.7, and client C and client D have ip 192.168.11.6 and 192.168.11.7. I can ping from B clients C and D, from A - C and D too. But I can not ping A from B and B from A. Why? And what I cat to do than A ping B and inversely?
openvpn --version
OpenVPN 2.1.3 x86_64-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Oct 22 2010
Thanks.