日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

openwrt pptpd start 报错validation filed

發(fā)布時間:2024/3/13 编程问答 38 豆豆
生活随笔 收集整理的這篇文章主要介紹了 openwrt pptpd start 报错validation filed 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

大概是配置文件直接復制粘帖導致有看不見的奇怪字符串,老老實實修改好配置文件不留奇怪空格,就不報這個錯了。配置文件使用uci解析的,pptpd的配置文件在/etc/config/pptpd文件中,內(nèi)容如下,

config service 'pptpd' option enabled '1' option localip '192.168.0.1' option remoteip '192.168.0.2-30' option nat '1' option internet '1' #list dns '192.168.1.1' #list dns '10.10.0.21' option mppe '1'config login option enabled '1' option username 'user2' option password 'dfsaf' option ipaddress '192.168.0.2'

/etc/init.d/pptpd restart
/etc/init.d/pptpd start

都可以開啟pptpd服務器了
netstat -antp
查看1723端口有沒有開,開了就是運行了。

關于sh out of range 可看https://forum.openwrt.org/t/default-config-file-for-pptpd-lacks-logwtmp-option/4795

######/etc/firewall.user###########iptables -A forwarding_rule -i ppp+ -j ACCEPT ## luci-app-pptpd iptables -A forwarding_rule -o ppp+ -j ACCEPT ## luci-app-pptpd iptables -A output_rule -o ppp+ -j ACCEPT ## luci-app-pptpd iptables -A input_wan_rule -p tcp --dport 1723 -j ACCEPT ## luci-app-pptpd iptables -A input_wan_rule -p tcp --dport 47 -j ACCEPT ## luci-app-pptpd iptables -A input_wan_rule -p gre -j ACCEPT ## luci-app-pptpd iptables -A input_rule -i ppp+ -j ACCEPT ## luci-app-pptpd———————————————— 版權聲明:本文為CSDN博主「d9394952」的原創(chuàng)文章,遵循CC 4.0 BY-SA版權協(xié)議,轉(zhuǎn)載請附上原文出處鏈接及本聲明。 原文鏈接:https://blog.csdn.net/d9394952/article/details/87868803

?

總結

以上是生活随笔為你收集整理的openwrt pptpd start 报错validation filed的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。