I followed the Wiki page and mostly feel I have VPN working minus being able to actually connect outside of my network. I am new to MikroTik and RouterOS but have background with similar setup's.
When I try to connect .. client -> server -->
Thu May 02 10:33:09 2013 OpenVPN 2.3.1 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [eurephia] [IPv6] built on Mar 28 2013
Enter Management Password:
Thu May 02 10:33:09 2013 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Thu May 02 10:33:09 2013 Need hold release from management interface, waiting...
Thu May 02 10:33:09 2013 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Thu May 02 10:33:09 2013 MANAGEMENT: CMD 'state on'
Thu May 02 10:33:09 2013 MANAGEMENT: CMD 'log all on'
Thu May 02 10:33:09 2013 MANAGEMENT: CMD 'hold off'
Thu May 02 10:33:09 2013 MANAGEMENT: CMD 'hold release'
Thu May 02 10:33:09 2013 WARNING: --ping should normally be used with --ping-restart or --ping-exit
Thu May 02 10:33:09 2013 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Thu May 02 10:33:09 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Thu May 02 10:33:09 2013 Socket Buffers: R=[516096->516096] S=[172032->172032]
Thu May 02 10:33:09 2013 MANAGEMENT: >STATE:1367505189,RESOLVE,,,
Thu May 02 10:33:10 2013 Attempting to establish TCP connection with [AF_INET]1.2.3.4:1194
Thu May 02 10:33:10 2013 MANAGEMENT: >STATE:1367505190,TCP_CONNECT,,,
Thu May 02 10:33:10 2013 TCP connection established with [AF_INET]1.2.3.4:1194
Thu May 02 10:33:10 2013 TCPv4_CLIENT link local: [undef]
Thu May 02 10:33:10 2013 TCPv4_CLIENT link remote: [AF_INET]1.2.3.4:1194
Thu May 02 10:33:10 2013 MANAGEMENT: >STATE:1367505190,WAIT,,,
Thu May 02 10:33:10 2013 MANAGEMENT: >STATE:1367505190,AUTH,,,
Thu May 02 10:33:10 2013 TLS: Initial packet from [AF_INET]1.2.3.4:1194, sid=2f7c2caf b8722829
Thu May 02 10:33:10 2013 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Thu May 02 10:33:11 2013 VERIFY OK: depth=1, C=US, ST=ST, L=City, O=Company, OU=changeme, CN=changeme, name=changeme, emailAddress=mgomon@myemail.com
Thu May 02 10:33:11 2013 VERIFY OK: depth=0, C=US, ST=ST, L=City, O=Company, OU=changeme, CN=changeme, name=changeme, emailAddress=mgomon@myemail.com
Thu May 02 10:33:13 2013 Connection reset, restarting [0]
Thu May 02 10:33:13 2013 SIGUSR1[soft,connection-reset] received, process restarting
Thu May 02 10:33:13 2013 MANAGEMENT: >STATE:1367505193,RECONNECTING,connection-reset,,
Thu May 02 10:33:13 2013 Restart pause, 5 second(s)
1.2.3.4 = WAN IP
here is my setup -->
/interface ovpn-client> print
0 name="ovpn-mgomon1" mac-address=FE:26:1F:6C:D3:14 max-mtu=1500 connect-to=1.2.3.1 por
user="mgomon" password="mypassword" profile=GNSYR certificate=mgomon1 auth=sha1 cipher=
add-default-route=no
/interface ovpn-server> print
0 ovpn-username mgomon
/interface ovpn-server server> print
enabled: yes
port: 1194
mode: ip
netmask: 29
mac-address: FE:39:12:7E:5B:72
max-mtu: 1500
keepalive-timeout: disabled
default-profile: GNSYR
certificate: gnsyrap01
require-client-certificate: no
auth: sha1,md5
cipher: blowfish128,aes128,aes192,aes256
These are just test certificates -->
/certificate> print
Flags: K - decrypted-private-key, Q - private-key, R - rsa, D - dsa, C - crl
0 KR name="gnsyrap01" subject=C=US,ST=ST,L=City,O=Company,OU=changeme,CN=changeme,name=changeme,
emailAddress=mgomon@myemail.com
issuer=C=US,ST=ST,L=City,O=Company,OU=changeme,CN=changeme,name=changeme,
emailAddress=mgomon@myemail.com
serial-number="01" email=mgomon@myemail.com invalid-before=may/01/2013 21:19:01
invalid-after=apr/29/2023 21:19:01 trusted=yes
2 KR name="mgomon1" subject=C=US,ST=ST,L=City,O=Company,OU=changeme,CN=changeme,name=changeme,
emailAddress=mgomon@myemail.com
issuer=C=US,ST=ST,L=City,O=Company,OU=changeme,CN=changeme,name=changeme,
emailAddress=mgomon@myemail.com
serial-number="02" email=mgomon@myemail.com invalid-before=may/01/2013 21:28:03
invalid-after=apr/29/2023 21:28:03 trusted=yes
/ip address> print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK INTERFACE
0 ;;; default wifi configuration
10.0.0.1/24 10.0.0.0 lan-wireless-bgn
1 X ;;; default server configuration
10.0.1.1/24 10.0.1.0 lan-servers-e5
2 ;;; default lan configuration
10.0.0.1/24 10.0.0.0 lan-e2
3 ;;; default lan-vpn configuration
10.15.30.31/24 10.15.30.0 lan-e2
4 D 1.2.3.4/20 1.2.3.0 wan-e1
/ip pool> print
3 ovpn-private 10.15.32.34-10.15.32.38
/ip route> print
0 ADS 0.0.0.0/0 1.2.3.1 0
1 ADC 10.0.0.0/24 10.0.0.1 wan-lan-bridge 0
wan-lan-bridge
2 X S 10.0.1.1/32 10.0.1.1 1
3 ADC 10.15.30.0/24 10.15.30.31 wan-lan-bridge 0
4 ADC 1.2.3.0/20 1.2.3.4 wan-e1 0
/ip firewall nat> print
0 ;;; default configuration
chain=srcnat action=masquerade to-addresses=0.0.0.0 out-interface=wan-e1
/ppp profile> print
1 name="GNSYR" local-address=10.15.32.33 remote-address=ovpn-private use-mpls=default use-compression=default
use-vj-compression=default use-encryption=required only-one=default change-tcp-mss=default address-list=""
[mgomon@gnsyrap01] /ppp secret> print
# NAME SERVICE CALLER-ID PASSWORD PROFILE REMOTE-ADDRESS
0 mgomon any mypass default
For this test I disabled Rule 3
/ip firewall filter> print
0 ;;; default configuration
chain=input action=accept protocol=icmp
1 ;;; default configuration
chain=input action=accept connection-state=established
2 ;;; default configuration
chain=input action=accept connection-state=related
3 X ;;; default configuration
chain=input action=drop in-interface=wan-e1
4 ;;; OpenVPN
chain=input action=accept protocol=tcp dst-port=1194
Client Config -->
proto tcp-client
remote my.wan_hostname.com 1194
dev tap
route add 10.20.30.0 mask 255.255.255.0 10.15.30.31
nobind
persist-key
tls-client
ca ca.crt # Root certificate in the same directory as this configuration file.
cert mgomon1.crt
key mgomon1.key
ping 10
verb 3
cipher AES-256-CBC
auth SHA1
pull
auth-user-pass auth.cfg
Any help in the right direction would be appreciated! Thanks.