Set up PPPoE Server on Ubuntu

The Point-to-Point Protocol over Ethernet (PPPoE) is a network protocol for encapsulating PPP frames inside Ethernet frames. PPPoE Server, which should be formally called as PPPoE Access Concentrator Environment Ubuntu Trusty(14.04) rp-pppoe Preparation Remove pppoe from system and install dependencies from apt.

Version of pppoe on Ubuntu is 3.8 but what we get … Continue reading “Set up PPPoE Server on Ubuntu”

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”

OpenVPN Site-to-Site VPN between Asus Merlin And Ubnt EdgeRouter

前言 Network Topology RT-AC68U 使用PPPoE拨号上网,但是分配的IP是100.64.204.111, 看着像公网IP实际却是Carrier-grade NAT. 现在需要将RT-AC68U与一台在公网的EdgeRouter使用OpenVPN Site-to-Site连接起来,并在RT-AC68U端实现policy-based routing。 需要让RT-AC68U下的所有设备能访问EdgeRouter LAN的网络,并根据需求透过VPS访问指定互联网。 本实验参考下列文章: Set up OpenVPN Site-to-Site on UBNT EdgeRouter Lite EdgeRouter OpenVPN Connectivity Monitor EdgeRouter 策略路由实现分析 EdgeRouter Policy Based Routing Using DNSMASQ IPSET Incoming search terms:asuswrt-merlin site to site vpnauthor6hzclose13rfutureh1cherq81leadp9hopenvpn site to site配置satxfostripjqgLink to this post!

EdgeRouter + SoftEther Policy-based Routing Error

I have protocol config like

SoftEther TAP device name is tap_se, local ip is, remote ip Internet is connected via pppoe0. Policy-based routing modified to table 4 route traffic to pppoe0 rather than tap_se. Check current route table:

In my previous post, I added a softether start-up script in /config/scripts/post-config.d/. I … Continue reading “EdgeRouter + SoftEther Policy-based Routing Error”


支持IPv6这事情不一定非得要路由上配,局域网内只要有Linux机器能用IPv6就行。 这种事情做之前,对于完全不会的人和会的人都很简单,但对我这种稍微懂一点的,还没做可能就先想多了。 测试环境 公司 路由:TP-Link某老旧企业路由,不支持IPv6 Linux:Debian Jessie, 服务主机,兼顾dns,dhcp等等服务,LAN接口eth0 网络:北京联通家庭光纤 PPPoE IPv6 服务:Tunnel Broker 其他软件:dnsmasq, dhcpd Incoming search terms:wireguard设置ipv6 dhcp-baijiahaoaccept7cnanybodyrx3LAN怎么成为IPv6stoodwx7企业路由ipv6局域网IPV6开启 RADVD维盟路由器 ipv6Link to this post!