Unable to ping others on bridged vpn

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
jgr
OpenVpn Newbie
Posts: 1
Joined: Thu Oct 15, 2009 10:39 am

Unable to ping others on bridged vpn

Post by jgr » Thu Oct 15, 2009 10:42 am

Hi all!

I've set up a bridged VPN with OpenVPN. I have a single private network (192.168.1.0/24) where the server is.

The server.conf file is as follows:

Code: Select all

port 1194                                      
proto udp           
dev tap                                       
ca /etc/openvpn/easy-rsa/keys/ca.crt                
cert /etc/openvpn/easy-rsa/keys/my_server_certificate.crt
key /etc/openvpn/easy-rsa/keys/my_server_key.key
dh /etc/openvpn/easy-rsa/keys/dh1024.pem   
ifconfig-pool-persist ipp.txt                        
server-bridge 192.168.1.254 255.255.255.0 192.168.1.32 192.168.1.63
keepalive 10 120                           
comp-lzo
user nobody
group nobody
persist-key
persist-tun
status openvpn-status.log
verb 3
Connecting with the client I manage to get the message

Code: Select all

Initialization Sequence Completed
Running ifconfig on the client I can see that the tap interface got the expected IP address (192.168.1.32) from the remote private network.

Problem is that I can't reach anyone.

Ping says Destination Host Unreachable.

On the log I have (192.168.1.67 is the server, 192.168.1.32 is the client):

Code: Select all

Oct 14 16:46:34 MV-SERVER01 kernel: martian source 192.168.1.67 from 192.168.1.32, on dev tap0
Oct 14 16:46:34 MV-SERVER01 kernel: ll header: ff:ff:ff:ff:ff:ff:5e:44:da:d6:c8:4f:08:06
I've add rules to iptables:

Code: Select all

iptables -A INPUT -i tap+ -j ACCEPT
iptables -A FORWARD -i tap+ -j ACCEPT
But didn't solve the problem.

Any ideas?

Best regrads,
Jorge

Post Reply