Altering subnet to suit local network?
Posted: Tue Apr 11, 2017 1:16 am
Seems i posted this in the wrong topic earlier today, hopefully this is a better place.
Hi guys,
Fisrt time ive had to post asking a question, usually i can find a solution myself but this time i've got too many options and i'm not sure where my problem lies.
I'll explain my set up first.
Usually i use OpenVPN on my raspberry pi to connect into my home network so i can keep my traffic secure while traveling. and this has always worked just fine, my browser on iOS always shows my home ip and everyting works just fine. Ive recently moved my raspberry pi to work so i can connect into the network here and this is where is gets a bit tricky.
The network at work is a Billion 8900x router, connected to a standard unmanaged switch, which connects a bunch of Tridonic ConnecDim Gateways together (these are a DALI Lighting control device) the programming of these devices is done via an iPhone app. connected locally, i can see all the gateways on the network, connect to them and configure them. connecting through the VPN however, i can't see any.
From my reading, i suspect this is because the IP i have on the local network is not in the same sub net as the gateways, they are 192.168.1.1xx whereas i think the IP i have is something like 10.8.0.xx?
My question is, can i change the subnet the VPN gives me to the same as the local one? if so how do i do that? or should i use "one to one NAT" which i had read about somewhere else but did not understand at all.
If it helps, its only one client (my iphone) connected to the server at a time.
Any and all information, or pointers in the right direction would be greatly appreciated.
Hi guys,
Fisrt time ive had to post asking a question, usually i can find a solution myself but this time i've got too many options and i'm not sure where my problem lies.
I'll explain my set up first.
Usually i use OpenVPN on my raspberry pi to connect into my home network so i can keep my traffic secure while traveling. and this has always worked just fine, my browser on iOS always shows my home ip and everyting works just fine. Ive recently moved my raspberry pi to work so i can connect into the network here and this is where is gets a bit tricky.
The network at work is a Billion 8900x router, connected to a standard unmanaged switch, which connects a bunch of Tridonic ConnecDim Gateways together (these are a DALI Lighting control device) the programming of these devices is done via an iPhone app. connected locally, i can see all the gateways on the network, connect to them and configure them. connecting through the VPN however, i can't see any.
From my reading, i suspect this is because the IP i have on the local network is not in the same sub net as the gateways, they are 192.168.1.1xx whereas i think the IP i have is something like 10.8.0.xx?
My question is, can i change the subnet the VPN gives me to the same as the local one? if so how do i do that? or should i use "one to one NAT" which i had read about somewhere else but did not understand at all.
If it helps, its only one client (my iphone) connected to the server at a time.
Any and all information, or pointers in the right direction would be greatly appreciated.