Hello,
I am attempting to get OpenVPN server running on an EdgeRouter. I had this running previously on a Tomato router with 4 Tomato clients and 1 Android phone. Mostly, this is so I can access my home network when away or help with my familiy's networks.
My ultimate goal, which worked with Tomato, is to use different domains for each lan, family1.lan, family2.lan, family3.lan, etc. And to have hosts resolved from any, ie media.family1.lan resolve from any network.
So, where Tomato uses fields to setup OpenVPN, the EdgeRouter uses a standard ovpn file to get it's configuration.
Here is my ovpn:
server
dev tun
proto udp
port 1195
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist /config/auth/ipp.txt
push "route 192.168.0.0 255.255.255.0"
push "dhcp-option DNS 192.168.0.1"
push "dhcp-option WINS 192.168.0.1"
client-to-client
cipher AES-128-CBC
comp-lzo
persist-key
persist-tun
status /config/auth/openvpn-status.log
<ca>
</ca>
<cert>
</cert>
<key>
</key>
<dh>
</dh>
When I try to run OpenVPN with this config, I get the following error.
Apr 12 10:08:33 gateway openvpn[18229]: Options error: Unrecognized option or missing parameter(s) in /config/auth/Server.ovpn:1: server (2.3.2)
Apr 12 10:08:33 gateway openvpn[18229]: Use --help for more information.
I double checked to make sure my certificates were correct. I even tried removing some of the options, but keep getting same error.
Any help would be greatly appreciated.
Eddie