您尚未登录。

#1 2013-03-20 19:51:13

dxcqcv
会员
注册时间: 2012-12-28
帖子: 242

VPN pptp setting problem

sorry, no input

# rc.d save iptables

and

# iptables-save > /etc/iptables/iptables.rules

the rc.d is not found, why? and iptables-save is not permitted, even using sudo

what is ufw?

I cannot find the path that is "/etc/ufw/before.rules"

thanks


learning Arch linux

离线

#2 2013-03-20 20:43:14

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,917
个人网站

Re: VPN pptp setting problem

1. 重定向是你当前 shell 做的,sudo 只管执行命令不管重定向;
2. rc.d 机制被 systemd 取代了。

离线

#3 2013-03-21 07:28:01

dxcqcv
会员
注册时间: 2012-12-28
帖子: 242

Re: VPN pptp setting problem

is the wiki already old?

so, these are two configurations is right?

Now, edit the file /etc/pptpd.conf

#vi /etc/pptpd.conf

option /etc/ppp/pptpd-options
localip 172.16.36.1
remoteip 172.16.36.2-254

Now, edit the file /etc/ppp/pptpd-options

#vi /etc/ppp/pptpd-options

name pptpd
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
require-mppe-128
proxyarp
lock
nobsdcomp
novj
novjccomp
nologfd
ms-dns 8.8.8.8
ms-dns 8.8.4.4

is it right for the localip, remoteip and ms-dns ?
shall I change it by myself? such as localip 192.168.1.100, ms-dns 208.67.222.222

the pptp wiki link is: https://wiki.archlinux.org/index.php/PPTP_Server

thanks again, 百合仙子


learning Arch linux

离线

#4 2013-03-21 16:23:34

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,917
个人网站

Re: VPN pptp setting problem

Please turn to Google. I don't know how to configure PPTP server.

离线

#5 2013-03-22 08:45:28

dxcqcv
会员
注册时间: 2012-12-28
帖子: 242

Re: VPN pptp setting problem

百合仙子 说:

Please turn to Google. I don't know how to configure PPTP server.

换回win,缓一缓,感觉就差一步了,已经在arch下能上twitter了,但无法写,而且经常无相应

非常感谢哈~


learning Arch linux

离线

页脚