BosseSwede
Regular Contributor
I have two sites (home and summer home) both with fiber connection to Internet. The summer home was installed a week or so ago.
I am going to put an ASUS RT-AC68U at the summer home, so I have configured it to connect by VPN to my home site using my Linux server at home as OpenVPN server. This way the devices at the summer LAN will reach all devices at home. I have tested this and it works when the router is connected to a different network nearby.
But I would also like to be able to go the "other way" through the tunnel so the client LAN is visible to the server LAN devices and then I think I need to use the ASUS RT-AC86U as the VPN server rather than the Linux server.
It is not obvious to me how one can configure the server.conf file in the router to allow backwards connection from the server side LAN through the tunnel to the client LAN, though...
I *have* read the two threads dealing with this basic problem but they are rather complicated.
Ultimate VPN guide
Setup for Bi-directional VPN
It seems like it should be easier to set up than these complicated ways...
I can connect with SSH to the router and then I can see in the file system this:
I could modify the config.ovpn and add necessary commands, but I am a bit suspicious about the path starting with tmp...
Is this a RAM based temp disk which loses its content on restart or power cycle?
If so how can I modify the conf file so it stays permanent?
I need to add a client-config-dir so I can have a special config for the specific client on the remote site.
Then I also need to create the ovpn file for the remote LAN with its own CA entry so the correct config is used for that connection.
Any ideas?
I am going to put an ASUS RT-AC68U at the summer home, so I have configured it to connect by VPN to my home site using my Linux server at home as OpenVPN server. This way the devices at the summer LAN will reach all devices at home. I have tested this and it works when the router is connected to a different network nearby.
But I would also like to be able to go the "other way" through the tunnel so the client LAN is visible to the server LAN devices and then I think I need to use the ASUS RT-AC86U as the VPN server rather than the Linux server.
It is not obvious to me how one can configure the server.conf file in the router to allow backwards connection from the server side LAN through the tunnel to the client LAN, though...
I *have* read the two threads dealing with this basic problem but they are rather complicated.
Ultimate VPN guide
Setup for Bi-directional VPN
It seems like it should be easier to set up than these complicated ways...
I can connect with SSH to the router and then I can see in the file system this:
Code:
admin@RT-AC86U:/# ls -la /tmp/etc/openvpn/server1/
drwx------ 2 admin root 0 Jan 14 13:48 .
drwx------ 3 admin root 0 Jan 11 13:47 ..
-rw------- 1 admin root 1172 Jan 11 13:47 ca.crt
-rw------- 1 admin root 912 Jan 11 13:47 ca.key
-rw-rw-rw- 1 admin root 3561 Jan 11 13:47 client.ovpn
-rw-rw-rw- 1 admin root 3561 Jan 11 13:47 client.ovpnr
-rw-rw-rw- 1 admin root 672 Jan 15 00:56 client_status
-rw-rw-rw- 1 admin root 546 Jan 11 13:47 config.ovpn
-rw------- 1 admin root 830 Jan 11 13:47 dh.pem
-rwx------ 1 admin root 195 Jan 11 13:47 fw.sh
-rw------- 1 admin root 1306 Jan 11 13:47 server.crt
-rw------- 1 admin root 916 Jan 11 13:47 server.key
-rw------- 1 admin root 436 Jan 15 13:52 status
I could modify the config.ovpn and add necessary commands, but I am a bit suspicious about the path starting with tmp...
Is this a RAM based temp disk which loses its content on restart or power cycle?
If so how can I modify the conf file so it stays permanent?
I need to add a client-config-dir so I can have a special config for the specific client on the remote site.
Then I also need to create the ovpn file for the remote LAN with its own CA entry so the correct config is used for that connection.
Any ideas?