script-tun forwarding doesn't work with rdesktop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



First, thank you for the free software.

I am trying to use the port forwarding feature described at
http://www.infradead.org/openconnect/nonroot.html to run a single
program on the VPN.  I have a script rdesktop-HOST.sh like this:

    #!/bin/sh
    rdesktop HOST.DOMAIN.net -u USER -d DOMAIN -p PASSWORD

If I connect normally

    # openconnect --juniper AUTHSITE.com

then run my script from another shell, everything works perfectly.
But I want only rdesktop to be forwarded and all other traffic to go
straight to the internet, so I tried the --script-tun flag:

    $ openconnect --juniper AUTHSITE.com --script-tun --script
/mnt/scripts/rdesktop-HOST.sh

The juniper connection goes fine and I get a startup message from
rdesktop, but it never connects.  Am I missing something?  Do I need
another piece of code in between?


Regards,
Benn



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux