I fixed the openvpn.inc... Tested and works...
Patch is attached... Scott, perhaps you can crosscheck and perhaps commit for me ? Did not want to bother you with my asking... just want to help... sorry... Martin -----Ursprüngliche Nachricht----- Von: Fuchs, Martin [mailto:[EMAIL PROTECTED] Gesendet: Montag, 12. März 2007 21:02 An: [email protected] Betreff: [pfSense Support] OpenVPN-Server There seems tob e an error with the openvpn-server config generated when hitting the save button: The config file oft he second server instance (openvpn_server1.conf) reads: writepid /var/run/openvpn_server1.pid #user nobody #group nobody daemon keepalive 10 60 ping-timer-rem persist-tun lport 1195 ... lport 1194 route 10.100.119.0 255.255.255.0 secret /var/etc/openvpn_server1.secret comp-lzo Where the lport-parameters collide... I think in /etc/inc/openvpn.inc the lines 186 ($lport = 1194 + $id;) or 221 (lport $lport) Should be removed when configuring the server-config, so that it does not count the instance oft he server and only writes the server port to listen on in /var/etc/openvpn_server1.conf Should fix the issue of colliding port numbers oft he server-cfg... I'm sorry, I'm not able to code this... it's too long ago... Perhaps anyone could crosscheck and verify if i'm correct ? Regards, Martin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
openvpn.inc.patch
Description: openvpn.inc.patch
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
