[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] How to set the source IP of tunneled packets?


  • Subject: [Openvpn-users] How to set the source IP of tunneled packets?
  • From: Steve Bergman <sbergman@xxxxxxxx>
  • Date: Fri, 08 Dec 2006 16:47:29 -0600

I have a machine with a "real" eth0 interface of 192.168.1.1.

Over this interface, I have an openvpn tunnel 10.6.0.1<->10.6.0.2, with
a route set to the 192.168.6.0/24 network on the other side.

When cups sends a print job to a machine on the 192.168.6.0/24 network,
the packets have a source ip of 10.6.0.1.  I need for them to have a
source ip if 192.168.1.1 to be accepted.  I see no options to make cups
use a particular interface when *sending* print jobs, and would really
prefer that *all* tunneled packets from this machine have a source IP of
192.168.1.1.

Is there anything I can do in the openvpn config to accomplish this?

Thanks for any help,
Steve Bergman



______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-12/msg00076.html on line 191

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-12/msg00076.html on line 191