Hi guys!
I am in the process of setting up a openvpn server on my freenas machine.
I run openvpn in a jail. I used the openvpn documentation to set up everything. But some things doesn't work.
My idea is to bridge the server to my internal network 192.168.0.0 and from there connect to my other jail running owncloud. There might be a better way to do this without the need to bridge? I'm not really in need for the bridge except for connecting to the other jail.
My problem is that the openvpn won't start. When i type "service openvpn start" it says "starting openvpn" but nothing further happens. Controlling which services running "service -e" and openvpn is not displayed. I have configured the rc.conf with a few parameters:
https://docs.google.com/document/d/1ZAI0_pUtRbhsC1u8uZ7RjgJxQz-QNgbrFxHVjyYrKWA/edit?usp=sharing aswell as openvpn config.
Is there something in these files that i have done wrong? The firewall settings how should they be configured?
I have not set up the config for briding yet, i want to be able to connect to it first.
My current network setup.
Router/4g modem (combined) dlink dwr923 -->
router that acts as switch -->
Server connected to the "dumb" router with the adress 192.168.0.199 -->
The jail in the server has the adress 192.168.0.4
Another problem that i have is that i can't find a way to configure my router to another subnet than 192.168.0.0 i've understood that this might be a problem if i use briding.
Best regards /JHCJ