大概是配置文件直接复制粘帖导致有看不见的奇怪字符串,老老实实修改好配置文件不留奇怪空格,就不报这个错了。配置文件使用uci解析的,pptpd的配置文件在/etc/config/pptpd文件中,内容如下,

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」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/d9394952/article/details/87868803

openwrt pptpd start 报错validation filed相关推荐

  1. openwrt编译kcptun报错proxy.golang.org 无法下载

    openwrt编译kcptun报错proxy.golang.org 无法下载. 错误提示: Get https://proxy.golang.org/github.com/kardianos/gove ...

  2. openwrt安装ipk报错“incompatible with the architectures configured”

    在高通平台上安装ipk的时候报了下面的错: Unknown package 'php7-mod-sqlite3'. Collected errors:* pkg_hash_fetch_best_ins ...

  3. openwrt 19.07报错:module ‘luci.cbi‘ not found

    最近在研究openwrt luci开发,在自定义页面的时候报了个错误: Failed to execute cbi dispatcher target for entry '/admin/servic ...

  4. Spring Data Jpa使用@Query时 报错Validation failed for query for method public abstract

    问题:在使用Spring Data Jpa作为持久化层,在使用@Query注解时出现以下错误: Validation failed for query for method public abstra ...

  5. 【Es】es修改mapping报错Validation Failed: 1: mapping type is missing

    1.背景 想修改es的mapping,先查询一下 GET index-202008-000001/_mapping结果如下{"ailpha-baas-log-202008-000001&qu ...

  6. Kubernetes Pod报错 filed to get sandbox image “k8s.gcr.io/pause:3.6“

    最近工作中在部署Pod后发现无法正常启动,查看Pod详情后看到以下报错信息: Failed to create pod sandbox: rpc error: code = Unknown desc ...

  7. jhipster修改jdl生成的实体类报错:liquibase.exception.ValidationFailedException: Validation Failed

    使用jhipster创建一个实体类之后,发现实体类不满足业务需求,需要修改: 如果是使用jdl创建的,那么我们只需要在原先的.jh文件中修改实体类内容,然后在项目根目录下执行命令: jhipster ...

  8. Spring实战第五版第二章字段校验返回视图报错解决及javax.validation完整pom依赖

    Spring实战第五版第二章 2.3 校验表单输入 在编写"/design"页面post处理逻辑时,按照书本上直接'return "design"; '方式,会 ...

  9. Jupyter notebook报错: Notebook validation failed: Non-unique cell id ‘2a4xxxx6‘ detected...

    我发现在jupyter notebook里面大量copy paste了一些cell之后,notebook会出现以下错误 报错内容: Notebook validation failed: Non-un ...

最新文章

  1. 【神经网络】(6) 卷积神经网络(VGG16),案例:鸟类图片4分类
  2. 谈谈WEB开发中的苦大难字符集问题
  3. oracle addm报告
  4. 0基础学python看什么书-零基础学python编程需要看什么书?
  5. 数据文件实验#OCP#
  6. Html5必看:教你如何选择移动APP开发框架
  7. 【企业管理】高效会议关注点
  8. ICCV 2019 开源论文 | ShapeMatchingGAN:打造炫酷动态的艺术字
  9. 这四种攻击单片机的主要技术你了解多少?
  10. 通过挂载系统光盘搭建本地yum仓库的方法
  11. nginx常见错误之(CreateFile() “D:\LCJ\下载\nginx/conf/nginx.conf“ failed (3: The system cannot find the path
  12. kali linux捆绑工具shellter的安装及使用
  13. steam计算机游戏,steam五款免费游戏推荐  整体品质不输付费游戏 千万不要错过...
  14. Windows官方纯净系统镜像下载及相关介绍
  15. 众人皆阳我独阴,分享与小阳人共同生活一周体验!
  16. 基于visual c++之windows核心编程代码分析(24)IO控制、内核通信
  17. 注入——sql注入命令
  18. 【C++】关键字restrict的作用
  19. 编程珠玑之第三章习题8
  20. iOS框架介绍--EF字头

热门文章

  1. 网络地址转换----NAT
  2. C#大文件上传支持切片上传
  3. springboot海纳部门人事管理系统毕业设计源码
  4. linux中c语言kbhit函数用法,检测按键(Linux中kbhit()函数的实现)
  5. 人工智能实验报告 牧师与野人渡河 知识表示方法
  6. 【MATLAB基础绘图第7棒】绘制各式柱状图
  7. 如何开启bios虚拟化
  8. 微信小程序随机生成文案
  9. 数学公式中的希腊字母读音
  10. css筋斗云,CSS3 七龙珠筋斗云动画