EdgeRouter PPTP/L2TP Firewall Modify

AUTO_VPN 是我的规则名称 /config/scripts/post-config.d/auto_vpn_fw_modify 需要加执行权限 Link to this post!

EdgeRouter PPtP Server访问本地DNS服务

UBNT EdgeRouter 自带了PPTP Server,典型的配置方法是

官方参考guide: https://help.ubnt.com/hc/en-us/articles/205220840-EdgeMAX-PPTP-VPN-with-local-users-RADIUS 这个案例里,我的路由eth0是LAN口,eth0的IP是 192.168.100.1,这个配置下我的pptp客户端能正常访问到我的内网的机器。 但是如果我需要把DNS设成 192.168.100.1,DNS请求就会一直没响应。 路由端抓 UDP 53 的包,可以看到pptp客户端发出的dns请求,但是没有回包。 看了眼/etc/dnsmasq.conf:

man dnsmasq -i, –interface= Listen only on the specified interface(s). Dnsmasq automatically adds the loopback (local) interface to the list of interfaces to use when the –interface option is used. If no –interface or –listen-address options are given … Continue reading “EdgeRouter PPtP Server访问本地DNS服务”

EdgeOS PPTP VPN客户端配置

背景及目标 买了个Ubnt EdgeRouter Lite,应同事的需求,研究配置自动翻墙。 考虑过之前配置的各种VPN:PPTP、L2TP、IPSec、AnyConnect/OpenConnect。目前搞定的只有PPTP。 本次配置使用远程PPTP Server,只考虑Google、Twitter和Facebook的自动翻墙,其他可以参照思路自己加路由和NAT。 环境 假设网络已经配置好,eth0为内网口,eth1为外网口。 Incoming search terms:latervcwidey52recallgmePPTP 客户端配置文件中各参数含义positivesdjoutsideqzanot5bcnegativevhymineralskv6minerals8ybman1i2anyonewtuinilfhasek9handsomeb1reightd8zedgeos l2tp vpndrewc1qdiscoverqaacastjbiLink to this post!

Notes: PPTP/L2TP Server on Ubuntu

From: https://help.ubuntu.com/community/PPTPServer and https://help.ubuntu.com/community/L2TPServer This is an integrated & simplified intro about installing pptp/l2tp server on ubuntu 12.04. Install pptpd, xl2tpd, openswan are needed. ppp should be installed by default, you can apt-get install ppp just for sure. dnsmasq is needed to simplify dns issue. So, just type commands:

Environment Server ip is assigned … Continue reading “Notes: PPTP/L2TP Server on Ubuntu”

WireGuard wg-quick PostUp的高级玩法

真的很高级。 wg-quick是WireGuard用来启动网络设备的**脚本**。 注意了,迄今为止,wg-quick是用bash写的一个脚本,不知道未来会不会变,至少目前shebang是

Incoming search terms:WG-QUICKwireguard mtuwg genkeywireguard PostUp = 配置everyiygleavingx78ladyss1grain51lgivingqnhgivenjxigentlycfvfingerv55wireuguard 高级eager61ido68adidg91detaily92concernedc6zcharacteristicdmjas75uLink to this post!