What's new

Network configuration OpenVpn

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Logos

New Around Here
network.jpg
Good day!
Please help me!
What needs to be done so that the client 192.168.1.10 can log in to the USB Modem 192.168.8.100?
V1oJJ
 
View attachment 14948 Good day!
Please help me!
What needs to be done so that the client 192.168.1.10 can log in to the USB Modem 192.168.8.100?
V1oJJ

It probably all depends if 192.168.8.100 is accessible from the 192.168.4.0/24 subnet.

So normally you would simply add 192.168.4.0/24 and 192.168.8.0/24 to the 'Manage Client-Specific options-->Allowed Clients' panel in the VPN Server GUI.
If this fails then you may need to add a route in the 'Custom configuration' panel.
 
Last edited:
It probably all depends if 192.168.8.100 is accessible from the 192.168.4.0/24 subnet.

So normally you would simply add 192.168.4.0/24 and 192.168.8.0/24 to the 'Manage Client-Specific options-->Allowed Clients' panel in the VPN Server GUI.
If this fails then you may need to add a route in the 'Custom configuration' panel.

Good Day!
After add 192.168.8.0/24 to the 'Manage Client-Specific options", 192.168.8.100 becomes available ,but 192.168.4.0/24 becomes unavailable
Allowed Clients
upload_2018-10-31_0-28-20.png
 
Good Day!
After add 192.168.8.0/24 to the 'Manage Client-Specific options", 192.168.8.100 becomes available ,but 192.168.4.0/24 becomes unavailable
Allowed Clients
View attachment 14957
From my experience, I think you can do like this:
1. The "Push" settings for those 2 ip ranges: Yes
2. Assuming you are setting up Server 2 (based on 10.16.0.0):
- Create this folder in jffs: /jffs/configs/openvpn/ccd2
- In that folder, create a file named vpndeshki containing these 2 lines:
Code:
iroute 192.168.4.0 255.255.255.0
iroute 192.168.8.0 255.255.255.0

(If you are actually setting up Server 1, then rename the ccd2 folder to ccd1)
 
Last edited:
From my experience, I think you can do like this:
1. The "Push" settings for those 2 ip ranges: Yes
2. Assuming you are using setting up Server 2 (based on 10.16.0.0):
- Create this folder in jffs: /jffs/configs/openvpn/ccd2
- In that folder, create a file named vpndeshki containing these 2 lines:
Code:
iroute 192.168.4.0 255.255.255.0
iroute 192.168.8.0 255.255.255.0

(If you are actually setting up Server 1, then rename the ccd2 folder to ccd1)


Both networks are available.Thanks for helping me.
 
Both networks are available.Thanks for helping me.
Phew, it's a relief. As I was not having the chance to test, I just took those code lines from some old note (2014-2015) which I didn't know if I had actually saved correctly. Don't know if I got those code lines from Martineau or someone else, but obviously it was from this forum.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top