Hi Everyone,

I'm trying (in vain) to set up a TCP tunnel.  I've got my tunnel server
(which is mpd) set up ok, and I've successfully connected to it using
user-land ppp on OpenBSD.

When I use mpd however, I have no success.  When trying to open my link,
it errors out with:

Mar 23 11:41:23 crazylegs ppp: [tcp-client1] link: OPEN event
Mar 23 11:41:23 crazylegs ppp: [tcp-client1] LCP: Open event
Mar 23 11:41:23 crazylegs ppp: [tcp-client1] LCP: state change Initial
--> Starting
Mar 23 11:41:23 crazylegs ppp: [tcp-client1] LCP: LayerStart
Mar 23 11:41:23 crazylegs ppp: [tcp-client1] can't connect() ksocket
node: Can't assign requested address
Mar 23 11:41:23 crazylegs ppp: [tcp-client1] link: DOWN event
Mar 23 11:41:23 crazylegs ppp: [tcp-client1] LCP: Close event
Mar 23 11:41:23 crazylegs ppp: [tcp-client1] LCP: state change Starting
--> Initial
Mar 23 11:41:23 crazylegs ppp: [tcp-client1] LCP: LayerFinish
Mar 23 11:41:23 crazylegs ppp: [tcp-client1] LCP: Down event

It's strange because I can telnet from crazylegs into the server's PPP
port, and that works just fine, so the machine *can* connect to the IP I
have set up.

Nothing happens on the server end, so I'm convinced this is entirely
client-side.

I'm using FreeBSD 6.2-RELEASE, and Mpd v4.1.

Any tips would be greatly appreciated, as I've been through the manuals,
and now I'm contemplating trying to debug the code, but it seems that
this Should Just Work.

Here's my mpd.conf:

default:
        load tcptest

tcptest:
         new tcptest tcp-client1
         set iface route default
         set iface idle 0
         set iface session 0
         set iface disable on-demand
         set auth authname test
         set auth password "test123"
         set ipcp yes vjcomp
         set link disable chap pap
         set link accept chap-md5
         set link yes acfcomp protocomp
         open

and my mpd.links:

tcp-client1:
         set link type tcp
         set tcp self 10.0.1.253
         set tcp peer 10.1.1.1 50699
         set link ident "TCP Client 1"
         set link keep-alive 5 20
         set tcp disable incoming
         set tcp enable originate

Thanks!
Derek




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mpd-users mailing list
Mpd-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mpd-users

Reply via email to