[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 833
  • Last Modified:

OpenVPN and Local Network Prinitng

We have a network in the 192.168.1.x subnet.  We have three clients on it, including a networked printer.

We have an OpenVPN with a subnet of 3.x.x.x.

We have included a PUSH command in the client config (push 192.168.1.100 255.255.255.0) to send traffic in the VPN tunnel to the printer (which has a static IP of 192.168.1.100).  

Everything works fine when the clients are not connected to the network.

However, when they are it does not print, even though I have used the PUSH command in the config file.

How can I get the local clients to the local networked printer while on the VPN?
0
gta2011
Asked:
gta2011
  • 2
1 Solution
 
QlemoC++ DeveloperCommented:
I do not get your configuration. The three clients are local, so how is that related to the OpenVPN connection? Or are those clients connected via OpenVPN only?

PUSH in client config does not make sense. You either put the ROUTE commands (without PUSH) into the client config, or prepended with PUSH in the server config file.

It's confusing, so please try to describe in more depth.
0
 
gta2011Author Commented:
We reviewed the settings and script and it turns out both the remote and client were both on the same subnet.  Both were 192.168.1.x and we changed one to 172.16.0.x and it fixed the problem.
0
 
gta2011Author Commented:
No answers worked so we just worked on it by ourselves until we got it to work.
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now