It is currently 17.12.2017 15:48


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: problem to ping other machines on client side
PostPosted: 06.12.2009 20:45 
DES
DES

Joined: 06.12.2009 20:16
Posts: 1
Hi all,

i need help with this configuration.

I have a office network with ip 192.168.0.0/24 . The gateway is a firewall with IPCOP and Zerina. Its ip is : 192.168.0.252 on green . On red is 192.168.1.254 , the router is a provider telecom router all port open to the firewall , 192.168.1.1 . The public IP is 95.226.216.67 .
I set up the firewall with the how to and open vpn started. The first doubt i had is : What IP i had to set for red ? I did 192.168.1.254 or i had to set the public IP ?
By the way , i downloaded the config for the client and i cant' connect. So i cheked the client config file and i noticed that the ip it connect was 192.168.1.254 . So i changed with the office public ip and the vpn started correctly . I followed the instruction to extend the connection to other PC on server and client side. With the server all ok. I can ping any machine from the client to the server network , but i can't do the opposite. From a PC on the server side, i cant ping a PC in the client network . here the config file server. I created the directory CCD as how to . I created it in the directory where i have open vpn /var/ipcop/ovpn . the biggest doubt i have is about " create static route on the client gateway " . Thanks all for help

Jimmy

#OpenVPN Server conf

daemon openvpnserver
writepid /var/run/openvpn.pid
#DAN prepare ZERINA for listening on blue and orange
;local 192.168.1.254
dev tun
tun-mtu 1400
proto udp
port 1194
tls-server
ca /var/ipcop/ovpn/ca/cacert.pem
cert /var/ipcop/ovpn/certs/servercert.pem
key /var/ipcop/ovpn/certs/serverkey.pem
dh /var/ipcop/ovpn/ca/dh1024.pem
server 10.0.10.0 255.255.255.0
push "route 192.168.0.0 255.255.255.0"
keepalive 10 60
status-version 1
status /var/log/ovpnserver.log 30
cipher BF-CBC
comp-lzo
max-clients 100
tls-verify /var/ipcop/ovpn/verify
crl-verify /var/ipcop/ovpn/crls/cacrl.pem
user nobody
group nobody
persist-key
persist-tun
verb 3
client-config-dir ccd
route 192.168.2.0 255.255.255.0
client-to-client
push "route 192.168.2.0 255.255.255.0"


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ]  Moderator: Moderators

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net