MPD5 PPTP and L2TP server problem with FreeBSD 9.2-RELEASE-p1
Dr. Rolf Jansen
rj at obsigna.com
Mon Nov 18 00:39:08 UTC 2013
Am 17.11.2013 um 00:22 schrieb Raimundo Santos <raitech at gmail.com>:
> On 16 November 2013 20:52, Dr. Rolf Jansen <rj at obsigna.com> wrote:
>
>> Am 16.11.2013 um 20:13 schrieb Florian Smeets <flo at smeets.im>:
>>
>>> On 16/11/13 22:48, Dr. Rolf Jansen wrote:
>>>
>>>
>>> Do you set net.inet.ip.forwarding in /etc/sysctl.conf? Try setting
>>> gateway_enable="YES" in /etc/rc.conf. This is caused by some changes in
>>> the rc system and the scripts it calls on interface creation. This bit
>>> me too.
>>>
>>> It looks like directly setting net.inet.ip.forwarding in sysctl.conf has
>>> never been officially supported. Though the last time I used
>>> gateway_enable was probably in the 4.X days, and setting it in
>>> sysctl.conf has always worked for me, until now :)
>
> same problem to me:
> http://thread.gmane.org/gmane.os.freebsd.devel.net/40700/focus=40701
>
> Eugene's follow up was very instructive. By now, my production router have
> gateway_enable="YES" even with sysctl.conf configured to forward packets.
>
> Where can we send a PR? As sugested by Eugene, it is not fault of MPD,
> right?
A PR can be send using the following web interface:
http://www.freebsd.org/send-pr.html
For an overview of the PR system, you might want to read the following:
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing/contrib-how.html#CONTRIB-GENERAL
I switched to gateway_enable="YES" in rc.conf, and in addition I disabled devd. I don't need to edit the sysctl directly, it was only a habit.
Best regards
Rolf
More information about the freebsd-net
mailing list