You are not logged in.
Hi everyone,
I use openvpn to protect my network traffic. But when my PC is connected to the remote openvpn server, my local printer (HP Officejet 4500) is unreachable (for printing and scanning). If I disconnect my openvpn client, all is ok : I can print and scan. Is there a way to have openvpn activated and be able to use hplip devices ?
I use an up-to-date arch x64 install under gnome 3, and printing with cups/hplip. Openvpn is managed thru NetworkManager.
Thank you,
Bruno.
Last edited by bcarnazzi (2013-05-07 06:53:37)
Offline
Is that a network printer? What is the ip address of it?
Also please post the output of ip route show before and after connecting to the vpn.
Last edited by roentgen (2013-01-20 16:16:46)
Offline
It's a network printer, IP address is : 192.168.1.117 (via DHCP)
ip route show before openvpn connection :
default via 192.168.1.1 dev eth0 proto static
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.2
ip route show after openvpn connection :
default via 10.8.0.137 dev tun0 proto static
10.8.0.1 via 10.8.0.137 dev tun0 proto static
10.8.0.137 dev tun0 proto kernel scope link src 10.8.0.138
93.115.84.198 via 192.168.1.1 dev eth0 proto static
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.2
Bruno.
Offline
I guess you can reach the printer (e.g by pinging its IP) but something else fails.
Offline
Yes, I can ping the printer. I'm not sure but I guess cups (or hplip) use some sort of multicast protocol with avahi.
I try to add the following lines to /etc/avahi/avahi-daemon.conf without success :
allow-interfaces=eth0
deny-interfaces=tun0
Maybe the problem is more hplip-related.
Bruno.
Offline
I found a solution : configure your printer with static IP, run hp-setup as root but don't use automatic discovery, enter the printer IP and you're done.
No conflict with openvpn !
Bruno.
Offline