hello to all the forum, this is my first post and I solicit your help, in the company I work have asked me to connect multiple branch headquarters, for that I have a 512 Kbps Turbonet 5Mb rise and fall with IP address 192.168 .1.1 255.255.255.0 mask, plus an ID with 1 mega public address mask 255.255.255.252 Gateway 201 247 144 168 201 247 144 170 in ascent and descent, routed to the internal ip 192.168.1.4 mask 255.255.255.0 in central offices, the branches will have Turbonet 3 megs down and mask set to 192.168.2.1 mask 255.255.255.0 192.168.3.1 255.255.255.0 first branch the second branch and so on, the data to be transferred are visual foxpro databases 9.00
I want to configure it when connected to my network segment assign the IP from 192.168.1.60 to 192.168.1.70 with mask 255.255.255.0 hambas formatted for viewing as pc's from the internal lan.
I managed to connect the server and the client, but not seen on the network so I can not make the customer ACCESS, to the application of visual foxpro, my both server and client configurations are: (This I have achieved by trial and error with several manuals on both linux and windows, for now I will put everything under windows environment and then the server will be Linux)
Server file
port 1194
proto udp
dev tap
;dev tun
dev-node TAP
ca ca.crt
cert openvpnsrv.crt
key openvpnsrv.key # This file should be kept secret
dh dh1024.pem
;server 192.168.1.4 255.255.255.0
ifconfig-pool-persist ipp.txt
server-bridge 192.168.1.4 255.255.255.0 192.168.1.60 192.168.1.70
server-bridge
;push "route 192.168.1.1 255.255.255.0"
;push "route 192.168.20.0 255.255.255.0"
;client-config-dir ccd
route 192.168.1.4 255.255.255.0
;push "redirect-gateway"
;push "dhcp-option DNS 10.8.0.1"
;push "dhcp-option WINS 10.8.0.1"
;client-to-client
;duplicate-cn
keepalive 10 120
;tls-auth ta.key 0 # This file is secret
;cipher BF-CBC # Blowfish (default)
;cipher AES-128-CBC # AES
;cipher DES-EDE3-CBC # Triple-DES
comp-lzo
max-clients 100
;user nobody
;group nobody
persist-key
persist-tun
status openvpn-status.log
;log openvpn.log
;log-append openvpn.log
verb 3
;mute 20
and on the client file
client
;dev tap
dev tun
;dev-node MyTap
;proto tcp
proto udp
;remote my-server-1 1194
;remote my-server-2 1194
;remote-random
resolv-retry infinite
nobind
;user nobody
;group nobody
persist-key
persist-tun
;http-proxy-retry # retry on connection failures
;http-proxy [proxy server] [proxy port #]
;mute-replay-warnings
ca ca.crt
cert client.crt
key client.key
ns-cert-type server
;tls-auth ta.key 1
;cipher x
comp-lzo
verb 3
;mute 20
dev tap
dev-node openVPN
remote xxx.xxx.xxx.xxx 1194 # Aqui pongo la Ip Publica y puerto
#Establecemos los parĂ¡metros de la PKI
ca ca.crt
cert chernandez.crt
key chernandez.key