Koozali.org: home of the SME Server

I Fixed my VPN problem but I need help making it permanant

Offline pfloor

  • *****
  • 889
  • +1/-0
I Fixed my VPN problem but I need help making it permanant
« on: August 22, 2004, 10:02:44 PM »
[Post erased by pfloor]
In life, you must either "Push, Pull or Get out of the way!"

bobk


Offline pfloor

  • *****
  • 889
  • +1/-0
I Fixed my VPN problem but I need help making it permanant
« Reply #2 on: August 23, 2004, 03:40:26 AM »
[Post erased by pfloor]
In life, you must either "Push, Pull or Get out of the way!"

bobk

I Fixed my VPN problem but I need help making it permanant
« Reply #3 on: August 23, 2004, 08:31:31 AM »
Have you looked at /etc/e-smith/templates/etc/sysconfig/network-scripts/ifcfg-ppp0/00default

On my system the MRU and MTU settings are blank. You could try copying the file to templates-custom and setting the MRU and MTU to 1500.

Offline pfloor

  • *****
  • 889
  • +1/-0
I Fixed my VPN problem but I need help making it permanant
« Reply #4 on: August 23, 2004, 10:25:09 AM »
[Post erased by pfloor]
In life, you must either "Push, Pull or Get out of the way!"

Offline ldkeen

  • *
  • 403
  • +0/-0
changing ppp mtu's
« Reply #5 on: August 24, 2004, 12:54:00 AM »
Hi Paul,
It's been a while since I've had a play with this but I think you just add the settings to /etc/ppp/options or /etc/ppp/options.pptpd
To template the changes:
mkdir -p /etc/e-smith/templates-custom/etc/ppp/options.pptpd
mcedit /etc/e-smith/templates-custom/etc/ppp/options.pptpd/mtu
Add whatever value you want here
mcedit /etc/e-smith/templates-custom/etc/ppp/options.pptpd/mru
Add whatever value you want.
/sbin/e-smith/expand-template /etc/ppp/options.pptpd
service pptpd restart
The mtu and mru are usually negotiated by the client, but by adding these settings to the server it should override the client.
Regards Lloyd