hi there,
As for firewall, my centOS server is minimal install and so I don't think the firewall is enabled
centos 6 AFAIK by default has selinux & firewall on...check them out
Then I went to the ccd directory (cd /etc/openvpn/ccd) and added the client file, abc1234 (abc1234.key is the name of my certificate file on my laptop client) with the following content:
iroute 192.168.0.0 255.255.255.0 ( this is what saw in OpenVPN wiki. this line is a blind copy)
the iroute statement is used in conjuction with route statement,the iroute
inside ccd file & the route inside server config.
the purpose of iroute is to enable routing when using openvpn in lan to lan scenarios.
ifconfig-push 10.8.0.4 10.8.0.16
when using tun & mode p2p the above is wrong...
please use something like
ifconfig-push 10.8.0.10 10.8.0.9
0.10 is for your client
the purpose of ccd files is so that clients use "static" vpn ips
and for passing specific options to specific clients.
4. I have forwarded (on my router thru port forwarding) the ports 80, 443 and 1194 on my Ubuntu OpenVPN server. However, I have not forwarded any ports from my CentOS machine nor does it have a webserver . Should I forward these ports as well? Also, I did NOT install OpenVPN on centOS. Is this OK?
only vpn service port is needed to forwarded to openvpn server itself.
Michael.