I was able to install my first ec2 instance with openVPN.

My configuration is

local 0.0.0.0
port 5194
proto udp
dev tap1
server 10.8.2.0 255.255.255.0
route 10.8.2.0 255.255.255.0
ifconfig-pool-persist /etc/openvpn/kiu-udp/ipp.txt
client-config-dir /etc/openvpn/kiu-ccd
keepalive 10 120
comp-lzo
persist-key
persist-tun

status /var/log/openvpn-udp-status.log
log /var/log/openvpn-udp.log
log-append /var/log/openvpn-udp.log
verb 4

ca /etc/openvpn/kiu/keys/ca.crt
cert /etc/openvpn/kiu/keys/kiu.crt
key /etc/openvpn/kiu/keys/kiu.key
dh /etc/openvpn/kiu/keys/dh2048.pem
crl-verify /etc/openvpn/kiu/keys/crl.pem

tls-version-min 1.2
cipher AES-256-CBC
auth RSA-SHA256

push "dhcp-option DOMAIN prod"
push "dhcp-option DOMAIN stage"
push "dhcp-option DNS 10.54.0.2"
push "dhcp-option DNS 8.8.8.8"

In this file client-config-dir /etc/openvpn/kiu-ccd add this

push "route 10.54.0.0 255.255.0.0"
push "route 10.40.0.0 255.255.0.0"
push "route 10.60.0.0 255.255.0.0"
push "route 172.31.0.0 255.255.0.0"
push "dhcp-option DNS 10.54.0.2"


Connected to the vpn as a client I cannot access any server, I can only access 
the openvpn server.

What else should I do so that customers can connect to all servers on the 
network?

Any helps please!??

Regards,
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to