EdgeRouter PPTP/L2TP Firewall Modify

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

L2TP Remote Access Server on UBNT EdgeRouter

EdgeRouter Lite with Firmware 1.9.0 L2TP PSK Mode. WAN interface: eth1 LAN IP: VPN Subnets: Run commands below in ‘configure mode’. 1 Configure IPSec

2 Configure L2TP

3 Configure DNS Make sure you have following lines, otherwise you can get DNS resolved.

Incoming search terms:edgerouter l2tp windows server 2016Link to … Continue reading “L2TP Remote Access Server on UBNT EdgeRouter”

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”

MacOS VPN Auto Add Routes

I tested on macOS 10.14, L2TP VPN. I connect to my office VPN to work remotely, but I don’t want to send all traffic to VPN interface. Usually, I open a Terminal.app and execute commands after VPN connected: is address block used in my office, is VPN gateway address. It’s really inconvenient. … Continue reading “MacOS VPN Auto Add Routes”

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!