Hi
Ref:
https://forums.openvpn.net/viewtopic.php?f=25&t=8853
Old thread but possibly you can help. Tried all the examples but did not manage to have internet while OpenVPN is connected to my remote Network.
- VNP server runs on an ASUS 68 at the
remote site.
- I want to access the remote sites network printer at 192.168.1.10
- At home, I run OpenVPN client on Windows 7, all works well and I can access the remote printer from standard applications.
- Problem: I need to print directly from a web application, so I need Internet access in parallel to the VPN connection
- I tried the following (the config file was generated automatically by Asus, I just added the second block in front of the certificate part)
client
dev tun
proto udp
remote myURL.com 1194
float
comp-lzo adaptive
keepalive 15 60
auth-user-pass login_data.txt
ns-cert-type server
redirect-gateway def1
allow-pull-fqdn
route 192.168.1.0 255.255.255.0
route www.google.ch 255.255.255.255 net_gateway
route https://meldeclient.feratel.at 255.255.255.255 net_gateway
redirect-gateway def1
<ca>
-----BEGIN CERTIFICATE-----
[[HERE ALL THE REST, CERTIFICATE, KEY, ETC.]]
How must I define the route command in order to reach the Feratel App, but print to remote printer?
Thanks in advance!
Mike