找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2935|回复: 4

请大家帮忙指点一下PPTP virtual** SERVER的问题。搞不定

[复制链接]
现在的情况是从外网可以PPTP 拨号连上路由,但PPTP进来,机器不能上网,也不能访问内网的其它机器,防火墙搞了半天,还是不行,请大家指点一下。谢谢




在防火墙的设置这里,我发现就是我添加iptables -t nat -A POSTROUTING -s 10.0.0.0/24 -j MASQUERADE后,无法保存,只要重启,这条就没有了。不知道什么原因。


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
# Allow all traffic in and out of the ppp interface. No reason to specify nets.
iptables -A input_rule -i ppp+ -j ACCEPT
iptables -A output_rule -o ppp+ -j ACCEPT
# This rule will allow traffic towards internet
iptables -A forwarding_rule -i ppp+ -j ACCEPT
iptables -A forwarding_rule -o ppp+ -j ACCEPT

去参考wiki来,先别用luci
https://wiki.openwrt.org/doc/howto/virtual**.server.pptpd

点评

把上面两条删掉吧,不然等于路由器全面向外部开放  详情 回复 发表于 2018-1-19 23:17
谢谢了,搞定了。按你这样操作的非常完美。  详情 回复 发表于 2016-4-10 21:53
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
zhouruixi 发表于 2016-4-10 21:06
# Allow all traffic in and out of the ppp interface. No reason to specify nets.
iptables -A input_r ...

谢谢了,搞定了。按你这样操作的非常完美。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

同样的问题,收藏了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

zhouruixi 发表于 2016-4-10 21:06
# Allow all traffic in and out of the ppp interface. No reason to specify nets.
iptables -A input_r ...

把上面两条删掉吧,不然等于路由器全面向外部开放
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-29 23:15

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表