PASSTOS

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
kanicus
OpenVpn Newbie
Posts: 4
Joined: Wed Nov 17, 2010 7:37 am

PASSTOS

Post by kanicus » Wed Nov 17, 2010 7:41 am

Hello, I would like to use OpenVPN with passtos option in both sides for VoIP calls between IP phones and IP PBX but I dont have find any example about how to do it, anyone ciuld give me a reference?

Now Im working this Pfsense and OpenVPn-Gui on clients but don know where to put the --passtos paramter, would be nice to mantain my Pfsense install but no problem to have a dedicated server on dmz for OpenVPN,
many thanks

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: PASSTOS

Post by krzee » Wed Nov 17, 2010 10:44 am

sounds like you know what you need from openvpn...
if everything works how you want when running commandline, you need to talk to the pfsense guys

kanicus
OpenVpn Newbie
Posts: 4
Joined: Wed Nov 17, 2010 7:37 am

Re: PASSTOS

Post by kanicus » Wed Nov 17, 2010 2:52 pm

Thanks for reply, if pfsense guys suppost the TOS bit preservation on Pfsense Beta 2.0, but I cant wait for a stable release can take 6 months more, I saw the --passtos option on OpenVpn documentation but dont know how to use it at client side using openvpn-gui, putting it into config file give me an error and dont know how I can add parameters to command line execution of openvpn while using gui at client side (Windows machines).
On server side I can make a virtual machine with anything but all remote workers launch VPNs from Windows client with openvpn-gui.

How I can use the passtos parameter¿?

Many thanks

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: PASSTOS

Post by krzee » Thu Nov 18, 2010 4:10 am

what error did it give you?
windows gui has nothing to do with the config, you just put the config options into the config, the gui is for starting / stopping the config

kanicus
OpenVpn Newbie
Posts: 4
Joined: Wed Nov 17, 2010 7:37 am

Re: PASSTOS

Post by kanicus » Sun Mar 13, 2011 8:48 pm

I just put passtos parameter at the end of config file, and when try con connect to server it gives me the error:
Options error: Unrecognized option or missing parameter(s) in [conf_file.ovpn]:18: passtos
I also tried with "-" using --passtos wit same result.

Later I saw some where that this option only works on linux machines not on windows clients.
Anyone knows if this is true and if its scheduled a fix to allow passtos on windows machines?

Many thanks

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: PASSTOS

Post by janjust » Mon Mar 14, 2011 10:18 am

Yes, this is true: the current builds of OpenVPN do not enable --passtos support, most likely due to bad support in the underlying win32 subsystem; this option is missing in both openvpn 2.1.4 and the current build of 2.2RC.
I do not expect this option to be enabled in the final version of 2.2, if somebody can write a patch it could be included for OpenVPN 2.3.

Post Reply