What's new

BUG: PPTP and optional static route

Bollaknas

New Around Here
Hi,

You are able to add a route in PPTP-server ex 192.168.0.0 and mask 255.255.255.0.
This should add som kind of route add -net .... ppp10 to if-up in tmp/pptpd but not.
If I manually add a route for remote network in ppp10 it works.

This used to work in some version last summer but not any more.
 
There's a fix upstream for a syntax error in the script that was generating the routes, that might resolve your problem.
 
Hi,

You are able to add a route in PPTP-server ex 192.168.0.0 and mask 255.255.255.0.
This should add som kind of route add -net .... ppp10 to if-up in tmp/pptpd but not.
If I manually add a route for remote network in ppp10 it works.

This used to work in some version last summer but not any more.

I'm running 380.58 and some fix was added in that version, " - FIXED: PPTP static route handling script was broken", but at least for mee it's still broken. I'm not a programmer but when I look into if-up, last row is a route add with a variable $1 representing name of ppp-interface.

I'm not shure if $1 is empty or containg wrong interface.

Hope someone understanding this can look into it.

/O
 
I'm running 380.58 and some fix was added in that version, " - FIXED: PPTP static route handling script was broken", but at least for mee it's still broken. I'm not a programmer but when I look into if-up, last row is a route add with a variable $1 representing name of ppp-interface.

I'm not shure if $1 is empty or containg wrong interface.

Hope someone understanding this can look into it.

/O

There was a second syntax error in the script that was fixed after the 380.58 release.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top