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: 192.168.3.1 VPN Subnets: 192.168.47.1-192.168.47.99 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 lite l2tpLink 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”

EdgeOS PPTP VPN客户端配置

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

Make FTP Active Mode Passive

First thing I should say is about the FTP active/passive mode, or say PORT/PASV mode. We can read the differences from wikipedia or Active FTP vs. Passive FTP, a Definitive Explanation. The two mode indicates who initialise the data connection and the active/passive is used to describe server’s action. Active mode: server create a connection … Continue reading “Make FTP Active Mode Passive”