Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

toxsocks redhat EL6

Help
2013-07-16
2013-07-17
  • Marco Norbiato
    Marco Norbiato
    2013-07-16

    Using toxsocks, it is working fine (from shell, toxsocks ssh host it is fine), however, when try to connect and configure PAC to use proxy this is the error:

    Can't locate Net/Proxy.pm in @INC (@INC contains: /opt/pac/lib /opt/pac/lib/ex /opt/pac/lib/edit /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /opt/pac/lib/pac_conn line 768.
    Use of uninitialized value $LOCAL_PORT in chomp at /opt/pac/lib/pac_conn line 748.
    Use of uninitialized value $LOCAL_PORT in concatenation (.) or string at /opt/pac/lib/pac_conn line 752.
    Use of uninitialized value $PORT in concatenation (.) or string at /opt/pac/lib/pac_conn line 821.
    Bad port '-X'

     
  • Hi!

    In order to gor through a Proxy server, you have two options:

    1 (with toxsocks or any other command): on the desired connection, edit it, and on "Advanced parameters", check the "Prepend command" and put the "toxsocks" string. Save and try.
    2 (with PAC's innate proxy support): in order to use this option (the one that is failing with that awful error), you need to have installed the "perl-Net-Proxy" Perl package. Please, install it and try.

    • David.