client-to-client help

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
junker10
OpenVpn Newbie
Posts: 1
Joined: Mon Sep 20, 2010 8:54 pm

client-to-client help

Post by junker10 » Mon Sep 20, 2010 9:04 pm

Trying to setup a local vpn so others can connect see eachother and comunicate back and forth
they won't communicate with each other but i can get it to communicate with the server

my server.conf

Code: Select all

mode server

port 1194
proto tcp
dev tun

ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/server.crt
key /etc/openvpn/keys/server.key

dh /etc/openvpn/keys/dh1024.pem

server 10.9.0.0 255.255.255.0

;push "redirect-gateway eth1"

push "dhcp-option DNS 10.0.80.11"
push "dhcp-option DNS 10.0.80.12"

client-to-client

ifconfig-pool-persist ipp.txt


route 10.9.0.0 255.255.255.0
push "route 10.9.0.0 255.255.255.0"

keepalive 10 120

comp-lzo

user nobody
group nobody

persist-key
persist-tun

status openvpn-status.log
verb 3
duplicate-cn
my client.conf

Code: Select all

client
dev tun

proto tcp

remote 255.255.255.255 1194

resolv-retry infinite

persist-key
persist-tun

ca test.crt
cert test.crt
key test.key

ns-cert-type server
comp-lzo

verb 3

If anyone could help it would be appreciated

my goal is able to have clients to be able to see eachother and be able to share content over port 80

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: client-to-client help

Post by krzee » Mon Oct 04, 2010 11:12 pm

remove this line
route 10.9.0.0 255.255.255.0

make sure you are trying to access the cpn clients by their vpn ip, your setup should work if all client firewalls are allowing it.

Post Reply