Hi all
I've been searching this point all day. I think I'm pretty close but I am missing something...
Here is my situation
My LAN is running :
I guess i have to forward some ports on my modem, but which ones (the samba ones 137,138,139 and 445??) and should i forward them to the VPN server, to the Freenas server or to the Freenas Jail??
And then how to access the samba shares from the remote computer. I would have expected something as simple as \\10.8.0.12\myshare, but since it doesn't work on the LAN network, it can't work remotely??!?
All computers or jail can connect to the internet (ping 8.8.8.8 is ok), and all computers/jail connected to the Virtual Network can ping each other
Please help, I am think I am pretty close, but I am missing something....
I've been searching this point all day. I think I'm pretty close but I am missing something...
Here is my situation
My LAN is running :
- A modem connected to the Internet, with Internet IP XXX.XXX.XXX.XXX and LAN IP 192.168.0.1
- A VPN server on a Ubuntu Machine : LAN IP is 192.168.0.10 and Virtual IP is 10.8.0.1
- A Freenas server (11.2) with samba shares : LAN IP of the Freenas server is 192.168.0.11
- On this Freenas server, I run a jail that runs Openvpn-client as a service. The jail's LAN IP is 192.168.0.12 and the openvpn client can establish a connection to virtual network with Virtual IP 10.8.0.12
- A local Windows computer with LAN IP 192.168.0.12. This windows computer runs also an openvpn client and can establish a connection to virtual network with Virtual IP 10.8.0.13.
- This windows computer can access the Freenas samba shares through LAN path \\192.168.0.11\myshare. However, this machine CAN NOT access shares throught path through the virtual network. I would have expected to also access samba shares through a path like \\10.8.0.12\myshare.
I guess i have to forward some ports on my modem, but which ones (the samba ones 137,138,139 and 445??) and should i forward them to the VPN server, to the Freenas server or to the Freenas Jail??
And then how to access the samba shares from the remote computer. I would have expected something as simple as \\10.8.0.12\myshare, but since it doesn't work on the LAN network, it can't work remotely??!?
All computers or jail can connect to the internet (ping 8.8.8.8 is ok), and all computers/jail connected to the Virtual Network can ping each other
Please help, I am think I am pretty close, but I am missing something....